Commit 61964844 authored by Robert Knight's avatar Robert Knight

Give the staging client a version number that is different from QA

This should avoid a conflict when uploading files to Sentry due to having two
versions that are the same. It also makes it easy to verify that the client
being served by staging.hypothes.is is the correct one.
parent cccdf351
......@@ -90,7 +90,7 @@ jobs:
run: |
git fetch --tags --quiet
LAST_COMMIT_HASH=$(git show HEAD --no-patch --format="%h")
STAGING_VERSION=$(git tag --list | sort --version-sort --reverse | head -n1 | tail -c +2)-$LAST_COMMIT_HASH
STAGING_VERSION=$(git tag --list | sort --version-sort --reverse | head -n1 | tail -c +2)-stg-$LAST_COMMIT_HASH
echo "STAGING_VERSION=$STAGING_VERSION" >> $GITHUB_ENV
- name: Build app
run: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment