-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
7166e1d
commit fdceff1
Showing
2 changed files
with
19 additions
and
7 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
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 |
---|---|---|
|
@@ -40,7 +40,7 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: "Generate version-with-buildnum.txt file" | ||
id: gen-build-num | ||
id: gen-buildnum | ||
uses: ./.github/actions/version-dot-buildnum-generate | ||
with: | ||
build-variant: ${{ inputs.workflow-build-variant }} | ||
|
@@ -53,13 +53,13 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "CICD for github repository ${GITHUB_REPOSITORY}" | ||
git config --list --show-origin | ||
if [ "${{ steps.gen-build-num.outputs.variant-raw }}" = "release" ] | ||
if [ "${{ steps.gen-buildnum.outputs.variant-raw }}" = "release" ] | ||
then | ||
git tag -a -m "test tag comment" "${{steps.gen-build-num.outputs.version}}" | ||
git push origin "${{steps.gen-build-num.outputs.version}}" | ||
git tag -a -m "test tag comment for final release" "${{steps.gen-buildnum.outputs.version}}" | ||
git push origin "${{steps.gen-buildnum.outputs.version}}" | ||
fi | ||
git tag -a -m "test tag comment" "${{steps.gen-build-num.outputs.version-with-buildnum}}" | ||
git push origin "${{steps.gen-build-num.outputs.version-with-buildnum}}" | ||
git tag -a -m "test tag comment" "${{steps.gen-buildnum.outputs.version-with-buildnum}}" | ||
git push origin "${{steps.gen-buildnum.outputs.version-with-buildnum}}" | ||
test: | ||
name: "Prerelease Tests" | ||
uses: ./.github/workflows/test.yml | ||
|