Skip to content

Commit 0a19930

Browse files
authored
Update ios.yml
1 parent cf3e6ce commit 0a19930

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ios.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
run: |
2828
grep -m 1 VERSION_NAME= version.sh | awk -F = '{printf "VERSION=%s",$2}' | xargs > constants.env
2929
echo "RELEAE_DATE=$(TZ=UTC-8 date +'%y%m%d%H%M%S')" >> constants.env
30-
echo "TAG=k"$(grep "VERSION" constants.env | cut -d'=' -f2)"-beta-"$(grep "RELEAE_DATE" constants.env | cut -d'=' -f2) >> constants.env
30+
echo "TAG="$(grep "VERSION" constants.env | cut -d'=' -f2)"-beta-"$(grep "RELEAE_DATE" constants.env | cut -d'=' -f2) >> constants.env
3131
cat constants.env
3232
- name: Prepare Normal Version
3333
if: ${{ inputs.beta == false }}
3434
run: |
35-
grep -m 1 VERSION_NAME= version.sh | awk -F = '{printf "TAG=k%s",$2}' | xargs > constants.env
35+
grep -m 1 VERSION_NAME= version.sh | awk -F = '{printf "TAG=%s",$2}' | xargs > constants.env
3636
cat constants.env
3737
- name: Export Env
3838
uses: cardinalby/export-env-action@v2
@@ -61,4 +61,4 @@ jobs:
6161
GH_TOKEN: ${{ github.token }}
6262
run: |
6363
branch=$(git branch --show-current)
64-
gh release create ${{ env.TAG }} --target $branch -t "👏👏 IJKMediaFramework ${{ env.TAG }}" dist/IJKMediaFramework.zip ios/xcframewrok/IJKMediaFramework.spec.json
64+
gh release create k${{ env.TAG }} --target $branch -t "👏👏 IJKMediaFramework k${{ env.TAG }}" dist/IJKMediaFramework.zip ios/xcframewrok/IJKMediaFramework.spec.json

0 commit comments

Comments
 (0)