Skip to content

Commit

Permalink
Fix publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeklim committed Jul 19, 2018
1 parent 86b0f61 commit 05bbf18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vsts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ else

## 0. Get artifact filename and commit hash from build
prerelease=$(echo "$ARTIFACT_PATH"/*.zip | rev | cut -d/ -f1 | rev)
commit_hash="$(echo $prerelease | sed 's/'$FRAMEWORKS_ZIP_FILENAME'-[[:digit:]]\{1,\}.[[:digit:]]\{1,\}.[[:digit:]]\{1,\}-[[:digit:]]\{1,\}+\(.\{40\}\)\.zip.*/\1/1')"
zip_filename="$(echo $FRAMEWORKS_ZIP_FILENAME | cut -d. -f1)"
commit_hash="$(echo $prerelease | sed 's/'$zip_filename'-[[:digit:]]\{1,\}.[[:digit:]]\{1,\}.[[:digit:]]\{1,\}-[[:digit:]]\{1,\}+\(.\{40\}\)\.zip.*/\1/1')"

### Temporarily remove tvOS framework from binary
unzip $ARTIFACT_PATH/$prerelease
Expand Down

0 comments on commit 05bbf18

Please sign in to comment.