diff --git a/scripts/build-nix.sh b/scripts/build-nix.sh index f020b75..730af07 100755 --- a/scripts/build-nix.sh +++ b/scripts/build-nix.sh @@ -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 diff --git a/scripts/build-osx.sh b/scripts/build-osx.sh index b601482..25d9243 100755 --- a/scripts/build-osx.sh +++ b/scripts/build-osx.sh @@ -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 diff --git a/scripts/build-win.ps1 b/scripts/build-win.ps1 index 3ac2f07..9b14df7 100644 --- a/scripts/build-win.ps1 +++ b/scripts/build-win.ps1 @@ -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