Merge branch 'main' of https://git.send.nrw/patchping/release-agent
Some checks are pending
release-tag / release-image (push) Has started running
Some checks are pending
release-tag / release-image (push) Has started running
This commit is contained in:
@@ -140,7 +140,6 @@ jobs:
|
|||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ./dist
|
path: ./dist
|
||||||
|
|
||||||
- name: Publish release metadata to Version Agent
|
- name: Publish release metadata to Version Agent
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -148,11 +147,17 @@ jobs:
|
|||||||
if [[ -z "${AGENT_URL:-}" || -z "${AGENT_TOKEN:-}" ]]; then
|
if [[ -z "${AGENT_URL:-}" || -z "${AGENT_TOKEN:-}" ]]; then
|
||||||
echo "Missing AGENT_URL or AGENT_TOKEN" >&2; exit 1
|
echo "Missing AGENT_URL or AGENT_TOKEN" >&2; exit 1
|
||||||
fi
|
fi
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
VERSION="${TAG#v}"
|
VERSION="${TAG#v}"
|
||||||
MAJOR="${VERSION%%.*}"
|
MAJOR="${VERSION%%.*}"
|
||||||
BRANCH="${MAJOR}.x"
|
BRANCH="${MAJOR}.x"
|
||||||
|
|
||||||
|
=======
|
||||||
|
VERSION="${TAG#v}" # 12.3.1[-rc.1|-beta.1]
|
||||||
|
MAJOR="${VERSION%%.*}" # 12
|
||||||
|
BRANCH="${MAJOR}.x" # 12.x
|
||||||
|
>>>>>>> e85857ccb4f14647cbcebe502da071b2ebe5d3fb
|
||||||
CHANNEL="stable"
|
CHANNEL="stable"
|
||||||
[[ "$VERSION" == *"-rc"* ]] && CHANNEL="rc"
|
[[ "$VERSION" == *"-rc"* ]] && CHANNEL="rc"
|
||||||
[[ "$VERSION" == *"-beta"* ]] && CHANNEL="beta"
|
[[ "$VERSION" == *"-beta"* ]] && CHANNEL="beta"
|
||||||
|
|||||||
Reference in New Issue
Block a user