fix(make): invalid release target
This commit is contained in:
+3
-3
@@ -108,7 +108,7 @@ release-arch: clean makepkg
|
||||
|
||||
.PHONY: release-%
|
||||
release-%: ## build release {version}
|
||||
$(MAKE) full-clean git-pull prepare-configure-$* aclocal autoconf automake start-configure make-distcheck cp-release prepare-pkgbuild-$* git-commit-release
|
||||
$(MAKE) full-clean git-pull prepare-configure-$* aclocal autoconf automake start-configure make-distcheck cp-release prepare-pkgbuild-$* git-commit-release-$*
|
||||
|
||||
# TOOLS
|
||||
|
||||
@@ -186,8 +186,8 @@ prepare-pkgbuild-%: ## sed -i {version} PKGBUILD
|
||||
sed -i -E "s/pkgver=[0-9]+\\.[0-9]+\\.[0-9]+/pkgver=$*/g" PKGBUILD
|
||||
sha256sum build/forge-steel-$*.tar.gz | cut -d' ' -f1 | xargs -I{} sed -i -E "s/sha256sums=\\('.*'\\)/sha256sums=\\('{}'\\)/g" PKGBUILD
|
||||
|
||||
.PHONY: git-commit-release
|
||||
git-commit-release: ## git commit -am "forge (steel) v{version}"
|
||||
.PHONY: git-commit-release-%
|
||||
git-commit-release-%: ## git commit -am "forge (steel) v{version}"
|
||||
git add configure.ac PKGBUILD
|
||||
git commit -am "forge (steel) v$*"
|
||||
git tag v$* -m "FORGE steel-$*"
|
||||
|
||||
Reference in New Issue
Block a user