diff --git a/Docker/release.sh b/Docker/release.sh index c08b5c9..49ad2b9 100644 --- a/Docker/release.sh +++ b/Docker/release.sh @@ -69,18 +69,23 @@ sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"${FRONT_VERSION}\"/" "${FRONT_P echo "frontend/package.json version updated → ${FRONT_VERSION}" # --------------------------------------------------------------------------- -# Git tag +# Git tag (local only; push after container build) # --------------------------------------------------------------------------- cd "${SCRIPT_DIR}/.." git add Docker/VERSION frontend/package.json git commit -m "chore: release ${NEW_TAG}" git tag -a "${NEW_TAG}" -m "Release ${NEW_TAG}" -git push origin HEAD -git push origin "${NEW_TAG}" -echo "Git tag ${NEW_TAG} created and pushed." +echo "Local git commit + tag ${NEW_TAG} created." # --------------------------------------------------------------------------- -# Push +# Push containers # --------------------------------------------------------------------------- bash "${SCRIPT_DIR}/push.sh" "${NEW_TAG}" bash "${SCRIPT_DIR}/push.sh" + +# --------------------------------------------------------------------------- +# Push git commits & tag +# --------------------------------------------------------------------------- +git push origin HEAD +git push origin "${NEW_TAG}" +echo "Git commit and tag ${NEW_TAG} pushed."