This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
-
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.
Merge remote-tracking branch 'weepy/main' into develop
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 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 |
---|---|---|
|
@@ -104,7 +104,7 @@ jobs: | |
publish: | ||
env: | ||
isRelease: ${{ github.ref_name == 'release' }} | ||
isRelease: ${{ github.ref_name == 'main' }} | ||
runs-on: ubuntu-latest | ||
needs: [build, version] | ||
steps: | ||
|
@@ -142,7 +142,7 @@ jobs: | |
version: | ||
env: | ||
isRelease: ${{ github.ref_name == 'release' }} | ||
isRelease: ${{ github.ref_name == 'main' }} | ||
name: Create version number | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
@@ -161,7 +161,7 @@ jobs: | |
uses: gittools/actions/gitversion/[email protected] | ||
|
||
- name: Create version.txt with MajorMinorPatch | ||
run: echo ${{ steps.gitversion.outputs.MajorMinorPatch }} > version.txt | ||
run: echo ${{ steps.gitversion.outputs.MajorMinorPatch }}${{ steps.gitversion.outputs.PreReleaseTagWithDash }} > version.txt | ||
|
||
- name: Upload version.txt | ||
uses: actions/upload-artifact@v2 | ||
|