Skip to content

Commit 3818d02

Browse files
committed
github: fix LNDINIT_VERSION to also match LND RCs
Previously LNDINIT_VERSION failed to strip the LND version portion of the string the LND release candidates, since their tag doesn't end with 'beta'
1 parent 5984650 commit 3818d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: echo "LND_VERSION=${RELEASE_VERSION##v*\.*\.*-beta-lnd-}" >> $GITHUB_ENV
4444

4545
- name: Set env for LNDINIT_VERSION
46-
run: echo "LNDINIT_VERSION=${RELEASE_VERSION%%-lnd-v*\.*\.*-beta}" >> $GITHUB_ENV
46+
run: echo "LNDINIT_VERSION=${RELEASE_VERSION%%-lnd-v*\.*\.*-beta*}" >> $GITHUB_ENV
4747

4848
- name: Set daily tag
4949
if: github.event.schedule == '0 1 * * *'

0 commit comments

Comments
 (0)