Browse Source

📦 fix something in packaging

main
_ 1 year ago
parent
commit
b1a370385b
  1. 5
      build_app_package.bash

5
build_app_package.bash

@ -4,12 +4,13 @@ set -euo pipefail
GIT_COMMIT=$(git rev-parse main)
GIT_COMMIT_SHORT=$(echo "$GIT_COMMIT" | cut -b -8)
DOCKER_TAG="ptth:latest"
mkdir -p app_packages
git archive --format=tar "$GIT_COMMIT" | sudo docker build -t ptth:latest --build-arg "git_version=$GIT_COMMIT" -
git archive --format=tar "$GIT_COMMIT" | sudo docker build -t "$DOCKER_TAG" --build-arg "git_version=$GIT_COMMIT" -
sudo docker run --rm ptth:latest tar -c \
sudo docker run --rm "$DOCKER_TAG" tar -c \
ptth_relay \
handlebars \
git_version.txt \

Loading…
Cancel
Save