Skip to content

Commit

Permalink
fix: condition sqlite branch name didnt work
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzwa committed Nov 23, 2024
1 parent 769e61a commit f2955a3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Release
on:
push:
branches:
- "release/*"
- "release-sqlite/*"

jobs:
Expand Down Expand Up @@ -43,10 +42,7 @@ jobs:
id: determine_tag
run: |
BRANCH_NAME="${GITHUB_REF#refs/heads/}"
TAG="${{ steps.gitversion.outputs.majorMinorPatch }}"
if [[ "$BRANCH_NAME" == release-sqlite/* ]]; then
TAG="${TAG}-sqlite"
fi
TAG="${{ steps.gitversion.outputs.majorMinorPatch }}-sqlite"
echo "tag=$TAG" >> $GITHUB_OUTPUT
- name: Download Raspbian Image
Expand Down

0 comments on commit f2955a3

Please sign in to comment.