We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3fdd4c commit 4ac6be6Copy full SHA for 4ac6be6
1 file changed
.github/workflows/release.yaml
@@ -0,0 +1,37 @@
1
+name: Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v*.*.*"
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
18
+ - name: Get the version
19
+ id: get_version
20
+ run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
21
+ shell: bash
22
23
+ - name: Build and Package
24
25
+ run: |
26
+ export RELEASE_TAG=${{ steps.get_version.outputs.VERSION }}
27
+ make zip
28
29
+ - name: Release
30
+ uses: softprops/action-gh-release@v2
31
+ with:
32
+ name: Release ${{ steps.get_version.outputs.VERSION }}
33
+ draft: true
34
+ generate_release_notes: true
35
+ files: |
36
+ build/fylr-plugin-datacite.zip
37
+ README.md
0 commit comments