Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maehw authored Nov 15, 2021
1 parent 40dc143 commit 882f610
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ on:
# for testing build from specific feature branch:
# (note: do not forget to modify tag_name and release_name when doing so!)
# branches: [ feature/build-gui-version ]
branches: [ release/v0.2.0 ]
# release tagged versions:
# tags:
# - 'v*' # Push events to matching v*, i.e. v0.1.0, v0.1.1, etc.
tags:
- 'v*' # Push events to matching v*, i.e. v0.1.0, v0.1.1, etc.
jobs:
createrelease:
name: Create release
Expand All @@ -24,12 +23,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
# use the following two lines for testing/ release candidates (e.g. in combination with a feature branch)
tag_name: "rc-${{ steps.datetime.outputs.datetime }}"
release_name: "RC ${{ steps.datetime.outputs.datetime }}"
draft: true
# tag_name: "rc-${{ steps.datetime.outputs.datetime }}"
# release_name: "RC ${{ steps.datetime.outputs.datetime }}"
draft: false
prerelease: true
- name: Output Release URL File
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
Expand Down

0 comments on commit 882f610

Please sign in to comment.