Skip to content

Commit cccc93c

Browse files
committed
fix: update release script to build on tag push rather than merge to release branch
1 parent 5704ed3 commit cccc93c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release-webhapps.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: 'release-webhapp'
22
on:
33
push:
4-
branches:
5-
- release-webhapp
4+
tags:
5+
- 'happ-v[0-9]+.[0-9]+.[0-9]+'
6+
- 'happ-v[0-9]+.[0-9]+.[0-9]+-[a-z]+'
7+
- 'happ-v[0-9]+.[0-9]+.[0-9]+-[a-z]+.[0-9]+'
68

79
jobs:
810
publish-happ:
@@ -43,7 +45,7 @@ jobs:
4345
allowUpdates: false
4446
artifacts: happs/happ/workdir/acorn.webhapp,happs/happ/workdir/acorn.happ
4547
body: 'See assets below to download and install this version.'
46-
name: v${{ steps.version.outputs.APP_VERSION }}-alpha
47-
tag: v${{ steps.version.outputs.APP_VERSION }}-alpha
48+
name: Acorn hApp v${{ steps.version.outputs.APP_VERSION }}
49+
tag: happ-v${{ steps.version.outputs.APP_VERSION }}
4850
prerelease: true
4951
draft: true

0 commit comments

Comments
 (0)