Skip to content

Commit e9817fa

Browse files
authored
Handle v in tag names. (#114)
1 parent 4c468d4 commit e9817fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
- name: Checkout
4949
uses: actions/checkout@v4
5050
with:
51+
ref: main
5152
fetch-depth: 0
5253

5354
- name: Configure Git
@@ -88,7 +89,7 @@ jobs:
8889
8990
# Update Chart.yaml with new version and appVersion
9091
sed -i "s/version: .*/version: $NEW_VERSION/" helm/temporal-worker-controller/Chart.yaml
91-
sed -i "s/appVersion: .*/appVersion: $GITHUB_REF_NAME/" helm/temporal-worker-controller/Chart.yaml
92+
sed -i "s/appVersion: .*/appVersion: ${GITHUB_REF_NAME#v}/" helm/temporal-worker-controller/Chart.yaml
9293
9394
# Set output variable for use in later steps
9495
echo "version=$NEW_VERSION" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)