-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
3 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,8 +38,6 @@ jobs: | |
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
- name: Setup jbang | ||
run: curl -Ls https://sh.jbang.dev | bash -s - app setup | ||
- name: Maven release ${{steps.metadata.outputs.current-version}} | ||
run: | | ||
./mvnw clean install -DskipTests | ||
|
@@ -52,7 +50,7 @@ jobs: | |
# update examples and tests | ||
./mvnw versions:set -DnewVersion=${{steps.metadata.outputs.next-version}} -Pwith-examples,with-tests -DgenerateBackupPoms=false -DoldVersion=* -DgroupId=* -DartifactId=* | ||
# update readme.md | ||
./scripts/ChangeVersion.java readme.md io.dekorate ${{steps.metadata.outputs.next-version}} > readme.md.versionChanged | ||
docker run -v `pwd`:/ws --workdir=/ws -ti quay.io/jbangdev/jbang-action ./scripts/ChangeVersion.java readme.md io.dekorate 0.0.1 | tail -n +3 > readme.md.versionChanged | ||
mv readme.md.versionChanged readme.md | ||
git add readme.md | ||
# commit changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters