Skip to content

Commit

Permalink
Merge pull request #121 from fermoya/feat/beta-versions
Browse files Browse the repository at this point in the history
Feat/beta versions
  • Loading branch information
fermoya authored Sep 6, 2020
2 parents 7f04442 + dfb547f commit c274792
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- master
- develop

workflow_dispatch:

Expand All @@ -25,3 +26,4 @@ jobs:
TAG_CONTEXT: branch
DEFAULT_BUMP: none
WITH_V: false
PRERELEASE_SUFFIX: beta
14 changes: 13 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Get tag name
id: get_version
run: |
name=VERSION::${GITHUB_REF/refs\/tags\//}
echo "Tag: $name"
if [[ "$name" == *"beta"* ]]; then
prerelease=true
else
prerelease=false
fi
echo ::set-output name=prerelease::$prerelease
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -38,7 +50,7 @@ jobs:
release_name: ${{ github.ref }}
body_path: ./release_description.md
draft: false
prerelease: false
prerelease: ${{ steps.get_version.outputs.prerelease }}

- name: Download artifact
uses: actions/download-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions release_description.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
### Fixes
- New workflow to compile all platforms
### Features
- Changes in workflows to publish Beta releases

0 comments on commit c274792

Please sign in to comment.