Fixes for releasing
This commit is contained in:
parent
67d17efde0
commit
8dd6768786
@ -69,7 +69,7 @@ in rec {
|
||||
'';
|
||||
};
|
||||
|
||||
vendorHash = "sha256-fBCwaZLusixNnD1QG0XtDe/NpNvonI7wBhqWbRrLFAg=";
|
||||
vendorHash = "sha256-JhcoMLVc6WHRiO3nNDyvGoxZRTtYf7e65nRMaK/EODo=";
|
||||
|
||||
subPackages = [
|
||||
"./cmd/entrypoint"
|
||||
|
2
dist/linux/arch/default.nix
vendored
2
dist/linux/arch/default.nix
vendored
@ -9,7 +9,7 @@
|
||||
|
||||
pkgbuild = pkgs.writeText "isle-arch-PKGBUILD-${releaseName}-${cpuArch}" ''
|
||||
pkgname=isle
|
||||
pkgver=${releaseName}
|
||||
pkgver=${builtins.replaceStrings ["-"] ["_"] releaseName}
|
||||
pkgrel=0
|
||||
pkgdesc="The foundation for an autonomous community cloud infrastructure."
|
||||
arch=('${cpuArch}')
|
||||
|
@ -5,8 +5,11 @@ set -e
|
||||
scriptDir=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)
|
||||
cd "$scriptDir"
|
||||
|
||||
printf "Release name (e.g. \"v0.1.2\"): "
|
||||
read -r releaseName
|
||||
releaseName="$1"
|
||||
if [ -z "$releaseName" ]; then
|
||||
echo "USAGE: $0 \"v0.1.2\""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
releasesDir="$(pwd)/releases"
|
||||
mkdir -p "$releasesDir"
|
||||
|
Loading…
Reference in New Issue
Block a user