Skip to content

Commit 4ac6be6

Browse files
author
Manuel Erdoes
committed
github auto release
1 parent f3fdd4c commit 4ac6be6

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
shell: bash
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

Comments
 (0)