From 25a3e1572a71c39746e6d201fbb7d0dbd9483599 Mon Sep 17 00:00:00 2001 From: Pierre Beaujean Date: Tue, 6 Aug 2024 15:33:54 +0200 Subject: [PATCH] also create library for releases --- .github/workflows/publish-library.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-library.yml b/.github/workflows/publish-library.yml index 8242ccf..fd4a2f7 100644 --- a/.github/workflows/publish-library.yml +++ b/.github/workflows/publish-library.yml @@ -3,6 +3,7 @@ name: Publish library in (pre-)release on: push: branches: [ master, dev ] + tags: [ 'v*' ] jobs: build: @@ -36,6 +37,6 @@ jobs: repo_token: ${{ secrets.GITHUB_TOKEN }} file: library.h5 asset_name: latest_library.h5 - tag: ${{ github.ref }} + tag: ${{ github.ref_name }} overwrite: true body: "Stable release" \ No newline at end of file