File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 19
19
id : get_release_info
20
20
run : |
21
21
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/ ')
24
24
echo "::set-output name=version::v${APP_VERSION}"
25
25
echo "::set-output name=tag::v${APP_VERSION}"
26
26
CHANGELOG=$(grep -oPz "(?s)##\s\[$APP_VERSION.+?(?=##\s\[|$)" ./CHANGELOG.md | tr -d '\0' | sed /^$/d | sed '1d')
Original file line number Diff line number Diff line change 17
17
id : release_url
18
18
run : |
19
19
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/ ')
22
22
REP_NAME=${{github.repository_owner}}
23
23
RELEASE_URL=https://github.com/$REP_NAME/$APP_NAME/releases/download/v$APP_VERSION/$APP_NAME.tar.gz
24
24
echo "::set-output name=url::${RELEASE_URL}"
You can’t perform that action at this time.
0 commit comments