Skip to content

Commit a1c74fb

Browse files
committed
update build.sh
1 parent dd2d417 commit a1c74fb

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
jobs:
9-
javadocs:
9+
documentation:
1010
runs-on: ubuntu-latest
1111

1212
permissions:

build.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
#!/bin/bash
22

3-
pushd ..
4-
5-
shopt -s expand_aliases
6-
7-
DIR="${BASH_SOURCE%/*}"
8-
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
9-
103
VERSION=$(grep -m1 '<version>' ./pom.xml | sed -E 's/.*<version>([^<]+)<\/version>.*/\1/')
114

125
cp ./CHANGELOG.md ./docs/book/changelog.md
@@ -19,6 +12,5 @@ popd
1912

2013
sed -i "s/{{VERSION}}/${VERSION}/g" ./docs/book/download.md
2114
sed -i "s/{{VERSION}}/${VERSION}/g" ./docs/book/index.md
22-
popd
2315

2416
npx hyperbook build

0 commit comments

Comments
 (0)