Skip to content

Commit

Permalink
Release v5.9 preparation - set "GitVersion" explicitely (#9529)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Jan 6, 2023
1 parent 89890e5 commit f31bca9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deployment-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: "5.x"
- name: Run GitVersion
id: gitversion
uses: gittools/actions/gitversion/[email protected]
shell: bash
run: |
echo "AssemblySemVer=5.9.`git rev-list v5.8..HEAD --count`" >> $GITHUB_OUTPUT
echo "InformationalVersion=5.9--`git log -1 --pretty='format:%cd' --date=format:'%Y-%m-%d'`--`git log -1 --format=%h`" >> $GITHUB_OUTPUT
echo "Major=5" >> $GITHUB_OUTPUT
echo "Minor=9" >> $GITHUB_OUTPUT
- name: Set up JDK
uses: actions/setup-java@v3
with:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: "5.x"
- name: Run GitVersion
id: gitversion
uses: gittools/actions/gitversion/[email protected]
shell: bash
run: |
echo "AssemblySemVer=5.9.`git rev-list v5.8..HEAD --count`" >> $GITHUB_OUTPUT
echo "InformationalVersion=5.9--`git log -1 --pretty='format:%cd' --date=format:'%Y-%m-%d'`--`git log -1 --format=%h`" >> $GITHUB_OUTPUT
echo "Major=5" >> $GITHUB_OUTPUT
echo "Minor=9" >> $GITHUB_OUTPUT
- name: Set up JDK
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit f31bca9

Please sign in to comment.