Skip to content

Commit

Permalink
Have bundle builder create version.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
rumblesan committed May 28, 2021
1 parent a136461 commit e058ab2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ cp ./docs/configuration.md $DOCUMENTATION_DIR/configuration.txt

cp $(stack exec -- which improviz) $BUNDLE_DIR

echo "${VERSION}" >> "${BUNDLE_DIR}/version.txt"

tar -C $BUILD_DIR -zcvf improviz-nix-${TRAVIS_TAG}.tar.gz improviz-nix
2 changes: 2 additions & 0 deletions scripts/build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ cp ./docs/configuration.md $DOCUMENTATION_DIR/configuration.txt

cp $(stack exec -- which improviz) "$BUNDLE_DIR"

echo "${VERSION}" >> "${BUNDLE_DIR}/version.txt"

tar -C $BUILD_DIR -zcvf improviz-osx-${VERSION}.tar.gz improviz-osx
2 changes: 2 additions & 0 deletions scripts/build-win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ cp ./docs/materials.md $DOCUMENTATION_DIR/materials.txt
cp ./docs/configuration.md $DOCUMENTATION_DIR/configuration.txt
./stack.exe install --local-bin-path $BUNDLE_DIR

echo "${VERSION}" >> "${BUNDLE_DIR}/version.txt"

7z a "improviz-win-${ENV:APPVEYOR_REPO_TAG_NAME}.zip" $BUNDLE_DIR

0 comments on commit e058ab2

Please sign in to comment.