We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d968512 commit 1ec1394Copy full SHA for 1ec1394
.github/workflows/build-and-release.yml
@@ -5,19 +5,25 @@ name: Build and release
5
6
on:
7
push:
8
- branches: [master]
+ tags: ['v*.*.*']
9
+ # branches: [master]
10
11
permissions:
12
contents: write
13
14
env:
15
RELEASE_FILENAME: go-mud-release
16
+ RELEASE_VERSION: ${{ github.ref_name }}
17
18
jobs:
19
test:
20
runs-on: ubuntu-latest
21
steps:
- - uses: actions/checkout@v4
22
+ - name: Checkout repository
23
+ uses: actions/checkout@v4
24
+
25
+ - name: Show version
26
+ run: echo "Releasing version $RELEASE_VERSION"
27
28
- name: Set up Go
29
uses: actions/setup-go@v4
@@ -99,7 +105,7 @@ jobs:
99
105
fail_on_unmatched_files: true
100
106
101
107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102
-
108
103
109
message:
104
110
111
0 commit comments