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 = [
|
subPackages = [
|
||||||
"./cmd/entrypoint"
|
"./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}" ''
|
pkgbuild = pkgs.writeText "isle-arch-PKGBUILD-${releaseName}-${cpuArch}" ''
|
||||||
pkgname=isle
|
pkgname=isle
|
||||||
pkgver=${releaseName}
|
pkgver=${builtins.replaceStrings ["-"] ["_"] releaseName}
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="The foundation for an autonomous community cloud infrastructure."
|
pkgdesc="The foundation for an autonomous community cloud infrastructure."
|
||||||
arch=('${cpuArch}')
|
arch=('${cpuArch}')
|
||||||
|
@ -5,8 +5,11 @@ set -e
|
|||||||
scriptDir=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)
|
scriptDir=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)
|
||||||
cd "$scriptDir"
|
cd "$scriptDir"
|
||||||
|
|
||||||
printf "Release name (e.g. \"v0.1.2\"): "
|
releaseName="$1"
|
||||||
read -r releaseName
|
if [ -z "$releaseName" ]; then
|
||||||
|
echo "USAGE: $0 \"v0.1.2\""
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
releasesDir="$(pwd)/releases"
|
releasesDir="$(pwd)/releases"
|
||||||
mkdir -p "$releasesDir"
|
mkdir -p "$releasesDir"
|
||||||
|
Loading…
Reference in New Issue
Block a user