Skip to content

Commit

Permalink
Docker: Fix version script to handle tags correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Apr 19, 2021
1 parent 6da36ce commit 8514265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/agora-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
run: |
set -xeu
set -o pipefail
if [[ $github_ref == /refs/tags/* ]]
if [[ $github_ref == refs/tags/* ]]
then
AGORA_VERSION="${github_ref#"/refs/tags/"}-${github_sha}"
AGORA_VERSION="${github_ref#"refs/tags/"}"
else
AGORA_VERSION="$github_sha"
fi
Expand Down

0 comments on commit 8514265

Please sign in to comment.