mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 03:57:08 +00:00
ci: Update 4-series workflow
The existing workflow doesn't create a release for every build, and the 4-series version shouldn't either.
This commit is contained in:
parent
9b808da3d9
commit
4067784841
1 changed files with 7 additions and 0 deletions
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
|
|
@ -241,9 +241,15 @@ jobs:
|
|||
with:
|
||||
name: Version
|
||||
path: ${{env.GITHUB_HOME}}\output\version.txt
|
||||
- name: Create tag for non-rc builds
|
||||
if: contains(env.VERSION, 'alpha') || contains(env.VERSION, 'beta')
|
||||
run: |
|
||||
git tag $($Env:VERSION)-4-Series
|
||||
git push --tags origin
|
||||
# Create the release on the source repo
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
if: contains(env.VERSION,'-rc-') || contains(env.VERSION,'-hotfix-')
|
||||
uses: actions/create-release@v1
|
||||
with:
|
||||
tag_name: ${{ env.VERSION }}-4-Series
|
||||
|
|
@ -254,6 +260,7 @@ jobs:
|
|||
# Upload the build package to the release
|
||||
- name: Upload Release Package
|
||||
id: upload_release
|
||||
if: contains(env.VERSION,'-rc-') || contains(env.VERSION,'-hotfix-')
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue