Skip to content

Commit

Permalink
Update project timestamp to git expression after release
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Mar 13, 2024
1 parent e66d794 commit 30fe752
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Expand Up @@ -99,6 +99,7 @@ jobs:
- name: Set next version
run: |
./mvnw -ntp -B versions:set versions:commit -DnewVersion=${{ env.NEXT_VERSION }} -pl :moditect-parent
sed -i -e "s@project.build.outputTimestamp>.*</project.build.outputTimestamp@project.build.outputTimestamp>\${git.commit.author.time}</project.build.outputTimestamp@g" parent/pom.xml
git config --global user.email "moditect-release-bot@moditect.org"
git config --global user.name "moditect-release-bot"
git commit -a -m "Next version ${{ env.NEXT_VERSION }}"
Expand Down

0 comments on commit 30fe752

Please sign in to comment.