Skip to content

Commit fa9bf4f

Browse files
committed
release: fix naming of the flist when publishing
1 parent e8e07bf commit fa9bf4f

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/publish-pre-release.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,17 @@ jobs:
4747
action: publish
4848
user: tf-autobuilder
4949
root: archive
50-
name: zos:${{ github.ref }}.flist
50+
name: zos-${{ github.ref }}.flist
51+
52+
- name: Rename flist from zos-${{ github.ref }}.flist to zos:${{ github.ref }}.flist
53+
if: success()
54+
uses: threefoldtech/publish-flist@master
55+
with:
56+
token: ${{ secrets.HUB_JWT }}
57+
action: rename
58+
user: tf-autobuilder
59+
name: zos-${{ github.ref }}.flist
60+
target: zos:${{ github.ref }}.flist
5161

5262
- name: Symlink flist (development)
5363
if: success()

.github/workflows/publish-release.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ jobs:
5050
token: ${{ secrets.HUB_JWT }}
5151
name: zos:${{ github.ref }}.flist
5252

53+
- name: Rename flist from zos-${{ github.ref }}.flist to zos:${{ github.ref }}.flist
54+
if: success()
55+
uses: threefoldtech/publish-flist@master
56+
with:
57+
token: ${{ secrets.HUB_JWT }}
58+
action: rename
59+
user: tf-autobuilder
60+
name: zos-${{ github.ref }}.flist
61+
target: zos:${{ github.ref }}.flist
62+
5363
- name: Symlink flist (development)
5464
if: success()
5565
uses: threefoldtech/publish-flist@master

0 commit comments

Comments
 (0)