Skip to content

Commit

Permalink
[appveyor] Maybe fix deploy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
binji committed Jul 25, 2018
1 parent fc02537 commit 4a1f3d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deploy:
description: 'wabt release'
provider: GitHub
auth_token:
secure: KFfsYkAo+kBfRikg9gm55VHkjNEiiDQk00S1kFjDrjEMrJRmrp6azGUeTSBfuiTH
secure: lHQSdycL1FHsFKZZ0RSnYSUtRitYaLb4uxDjCSOpYHnk4gIO/0/DLu4aoU2VvD7Y
artifact: "%DEPLOY_NAME%"
on:
appveyor_repo_tag: true
Expand Down
8 changes: 5 additions & 3 deletions scripts/appveyor-after-test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ REM limitations under the License.

REM Set up the artifact for this build, but only if this is a tag build.

IF "%APPVEYOR_REPO_TAG%" == "true" (
ren "%APPVEYOR_BUILD_FOLDER%\\bin" "wabt-%APPVEYOR_REPO_TAG_NAME%"
7z a %DEPLOY_NAME% "%APPVEYOR_BUILD_FOLDER%\\wabt-%APPVEYOR_REPO_TAG_NAME%\\*.exe"
IF "%DEPLOY%" == "true" (
IF "%APPVEYOR_REPO_TAG%" == "true" (
ren "%APPVEYOR_BUILD_FOLDER%\\bin" "wabt-%APPVEYOR_REPO_TAG_NAME%"
7z a %DEPLOY_NAME% "%APPVEYOR_BUILD_FOLDER%\\wabt-%APPVEYOR_REPO_TAG_NAME%\\*.exe"
)
)

0 comments on commit 4a1f3d2

Please sign in to comment.