Include grammar, readme, and license in releases

This commit is contained in:
Casey Rodarmor 2017-05-12 23:59:59 -04:00
parent 9b8808af40
commit acdd9c91d9
4 changed files with 8 additions and 2 deletions

2
Cargo.lock generated
View File

@ -1,6 +1,6 @@
[root]
name = "just"
version = "0.2.29"
version = "0.2.30"
dependencies = [
"ansi_term 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"atty 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -1,6 +1,6 @@
[package]
name = "just"
version = "0.2.29"
version = "0.2.30"
description = "🤖 Just a command runner"
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
license = "WTFPL OR MIT OR Apache-2.0"

View File

@ -12,6 +12,9 @@ $ZIP = "$SRC_DIR\$($Env:CRATE_NAME)-$($Env:APPVEYOR_REPO_TAG_NAME)-$($Env:TARGET
# DONE Update this to package the right artifacts
Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\just.exe" '.\'
Copy-Item "$SRC_DIR\GRAMMAR.md" '.\'
Copy-Item "$SRC_DIR\LICENSE.md" '.\'
Copy-Item "$SRC_DIR\README.md" '.\'
7z a "$ZIP" *

View File

@ -22,6 +22,9 @@ main() {
# DONE Update this to package the right artifacts
cp target/$TARGET/release/just $stage/
cp GRAMMAR.md $stage/
cp LICENSE.md $stage/
cp README.md $stage/
cd $stage
tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *