Skip to content

Commit 1def7f0

Browse files
committed
Workflow fix
1 parent 978a386 commit 1def7f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/create-release-draft.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
id: get_release_info
2020
run: |
2121
APP_VERSION=$(sed -n "s/<version>\(.*\)<\/version>/\\1/p" ./appinfo/info.xml | tr -d '\t')
22-
IS_NIGHTLY=$(echo $APP_VERSION | sed 's/alpha/true')
23-
IS_NIGHTLY=$(echo $IS_NIGHTLY | sed 's/beta/true')
22+
IS_NIGHTLY=$(echo $APP_VERSION | sed 's/alpha/true/')
23+
IS_NIGHTLY=$(echo $IS_NIGHTLY | sed 's/beta/true/')
2424
echo "::set-output name=version::v${APP_VERSION}"
2525
echo "::set-output name=tag::v${APP_VERSION}"
2626
CHANGELOG=$(grep -oPz "(?s)##\s\[$APP_VERSION.+?(?=##\s\[|$)" ./CHANGELOG.md | tr -d '\0' | sed /^$/d | sed '1d')

.github/workflows/publish-appstore.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
id: release_url
1818
run: |
1919
APP_VERSION=$(sed -n "s/<version>\(.*\)<\/version>/\\1/p" ./appinfo/info.xml | tr -d '\t')
20-
IS_NIGHTLY=$(echo $APP_VERSION | sed 's/alpha/true')
21-
IS_NIGHTLY=$(echo $IS_NIGHTLY | sed 's/beta/true')
20+
IS_NIGHTLY=$(echo $APP_VERSION | sed 's/alpha/true/')
21+
IS_NIGHTLY=$(echo $IS_NIGHTLY | sed 's/beta/true/')
2222
REP_NAME=${{github.repository_owner}}
2323
RELEASE_URL=https://github.com/$REP_NAME/$APP_NAME/releases/download/v$APP_VERSION/$APP_NAME.tar.gz
2424
echo "::set-output name=url::${RELEASE_URL}"

0 commit comments

Comments
 (0)