Skip to content

Commit

Permalink
Fix the CI scripts to hopefully build successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-engel committed Mar 8, 2017
1 parent 8e30fca commit 9c2767a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.3.1
> 2017-03-07
This fixes the CI scripts, so now it should build and publish them correctly,
I hope.

# 0.3.0
> 2017-03-07
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jwt-cli"
version = "0.3.0"
version = "0.3.1"
authors = ["Mike Engel <[email protected]>"]

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ci/before_deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Set-Location $STAGE
$ZIP = "$SRC_DIR\$($Env:CRATE_NAME)-$($Env:APPVEYOR_REPO_TAG_NAME)-$($Env:TARGET).zip"

# TODO Update this to package the right artifacts
Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\hello.exe" '.\'
Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\jwt-cli.exe" '.\'

7z a "$ZIP" *

Expand Down
4 changes: 2 additions & 2 deletions ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ main() {
test -f Cargo.lock || cargo generate-lockfile

# TODO Update this to build the artifacts that matter to you
cross rustc --bin hello --target $TARGET --release -- -C lto
cross rustc --bin jwt-cli --target $TARGET --release -- -C lto

# TODO Update this to package the right artifacts
cp target/$TARGET/release/hello $stage/
cp target/$TARGET/release/jwt-cli $stage/

cd $stage
tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *
Expand Down

0 comments on commit 9c2767a

Please sign in to comment.