Skip to content

Commit

Permalink
Avoid building the "benchmarks" module during release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed Jun 23, 2022
1 parent cfa174d commit 5a6d127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: Jandex CI
on:
push:
branches:
- master
# temporary, should be removed once `smallrye` becomes `main`
- smallrye
- main
paths-ignore:
- '.gitattributes'
- '.gitignore'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ jobs:
git config --global user.name "SmallRye CI"
git config --global user.email "smallrye@googlegroups.com"
git checkout -b release
sed -i -e '\|<module>benchmarks</module>|d' pom.xml
mvn -B release:prepare -Prelease -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}} -s maven-settings.xml
git checkout ${{github.base_ref}}
git rebase release
mvn -B release:perform -Prelease -s maven-settings.xml
sed -i -e 's|<version>.*</version>|<version>${{steps.metadata.outputs.current-version}}</version>|' README.md
git commit -a -m 'Update README.md after release'
git push
git push --tags
Expand Down

0 comments on commit 5a6d127

Please sign in to comment.