Skip to content

Commit

Permalink
Try to figure out why release wasn't triggered.
Browse files Browse the repository at this point in the history
  • Loading branch information
luciansmith committed Jun 26, 2023
1 parent 11a933e commit 3d6f560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,15 @@ jobs:
release="0"
if [ ! -z "${{ github.event.inputs.simulatorVersion }}" ]; then
echo "Not dash-z."
if [ "${{ github.ref }}" == "${{ steps.get-main-branch.outputs.mainBranchRef }}" ]; then
release="1"
fi
fi
if [[ "${{ github.ref }}" =~ ^refs/tags/ ]]; then
tag_hash=$(git rev-parse "${{ github.ref }}")
echo "tag hash: $tag_hash"
if [ "$tag_hash" == "${{ steps.get-main-branch.outputs.mainBranchHeadRevision }}" ]; then
release="1"
fi
Expand Down

0 comments on commit 3d6f560

Please sign in to comment.