Skip to content

Commit 9c89e9f

Browse files
committed
Add release build indicator
1 parent ef22f1f commit 9c89e9f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build-test-all.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on: [push, pull_request]
44

55
jobs:
66

7+
release-notice:
8+
name: This is a release build
9+
if: startsWith(github.ref, 'refs/tags/v')
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Get version
14+
id: get-version
15+
run: echo "This is a release build for v${GITHUB_REF/refs\/tags\/v/}"
16+
717
build:
818
strategy:
919
matrix:
@@ -133,6 +143,7 @@ jobs:
133143
- name: Do release
134144
uses: ncipollo/release-action@v1
135145
with:
146+
draft: false
136147
artifacts: "vhdl_lang-x86_64-unknown-linux-gnu.zip,vhdl_ls-x86_64-unknown-linux-gnu.zip,vhdl_lang-x86_64-pc-windows-msvc.zip,vhdl_ls-x86_64-pc-windows-msvc.zip"
137148
bodyFile: "release_notes/v${{ steps.get-version.outputs.VERSION }}.md"
138149
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)