Skip to content

Commit fd34775

Browse files
author
ranchodeluxe
committed
use export
1 parent bae8914 commit fd34775

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pre-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ jobs:
7373
NEW_APP_VERSION="${APP_VERSION_PARTS[0]}.${APP_VERSION_PARTS[1]}.$((APP_VERSION_PARTS[2] + 1))"
7474
fi
7575
76+
# export so strenv picks them up
77+
export NEW_VERSION
78+
export NEW_APP_VERSION
79+
7680
yq -i '.version = strenv(NEW_VERSION)' Chart.yaml
7781
yq -i '.appVersion = strenv(NEW_APP_VERSION)' Chart.yaml
7882
@@ -100,7 +104,7 @@ jobs:
100104
commit-message: 'release eoapi chart to ${{ env.new_version }}'
101105
title: 'release for ${{ github.ref }}@${{ github.sha }}'
102106
body: |
103-
this PR contains the version bumps for the eoapi chart > ${{ env.new_version }}
107+
this PR contains the version bumps for the eoapi chart ${{ env.new_version }}
104108
base: main
105109
branch: apply-${{ github.head_ref }}
106110
labels: release-apply

0 commit comments

Comments
 (0)