Skip to content

Commit c4a239d

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Integrate release scripts and CI into base repo
1 parent 723ee10 commit c4a239d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

release/mac/build-archive.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ fi
6969

7070
make preinstall -j"$procs"
7171

72+
git_version="$(cd "$REPO_ROOT" && git describe --tags)"
73+
7274
# this is the name of the directory we will "install" to, as well as the created zip file's name
73-
DESTDIR=blue-nebula-"$(git describe --tags)"-macos-"$ARCH"
75+
DESTDIR=blue-nebula-"$git_version"-macos-"$ARCH"
7476

7577
# install everything into a temporary FHS-style tree which we will later zip manually after having collected the deps
7678
make install DESTDIR="$DESTDIR" &>install.log

release/nix/build-appimage.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/lin
5050

5151
chmod +x linuxdeploy*.AppImage
5252

53+
git_version="$(cd "$REPO_ROOT" && git describe --tags)"
54+
5355
# configure AppImageUpdate
5456
export UPD_INFO="gh-releases-zsync|blue-nebula|release|continuous|Blue_Nebula-*$ARCH.AppImage.zsync"
55-
VERSION=$(git describe --tags)
56-
export VERSION
57+
export VERSION="$git_version"
58+
5759
./linuxdeploy-"$ARCH".AppImage --appdir AppDir --output appimage
5860

5961
mv Blue_Nebula*.AppImage* "$OLD_CWD"

0 commit comments

Comments
 (0)