index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2023-07-19 19:29:07.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2023-07-19 19:29:07.0 +00:00:00
commit
032aaf3839af5749eda37c680cb3a16f645cf8c0 [patch]
tree
04646806c9fc7d4bd416f6f98945e309b055b9cf
parent
8da2b698631e62e5c28e8e9cbbd2b0cb63f9afee
download
032aaf3839af5749eda37c680cb3a16f645cf8c0.tar.gz

refactor: post release script & dev makefile [skip ci]



Diff

 Makefile                           | 2 +-
 scripts/ci/post_release_updates.sh | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3543960..1334cb8 100644
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,7 @@ docker.image.alpine:

docker.image.debian:
	@echo "Creating Docker Alpine image..."
	@cp -frp ./target/x86_64-unknown-linux-gnu/release/static-web-server ./docker/devel/
	@cp -frp ./target/x86_64-unknown-linux-musl/release/static-web-server ./docker/devel/
	@docker build \
		--platform="linux/x86_64" \
		--rm=true -f ./docker/devel/Dockerfile.debian \
diff --git a/scripts/ci/post_release_updates.sh b/scripts/ci/post_release_updates.sh
index 82613ea..2b6ea6d 100755
--- a/scripts/ci/post_release_updates.sh
+++ b/scripts/ci/post_release_updates.sh
@@ -95,9 +95,11 @@ echo
echo "Committing post release page updates..."
git config user.name "github-actions"
git config user.email "actions@users.noreply.github.com"
git checkout master
git pull origin master
git add docs/content/download-and-install.md
git add scripts/installer.sh
git commit -m "chore: release $SERVER_VERSION updates [skip ci]" || exit 0
git push
git push origin master

echo "All changes after release were done successfully!"