Skip to content

Commit 744bce4

Browse files
committed
Test
1 parent f9e8a65 commit 744bce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set major version
2626
run: echo "MAJOR_VERSION=v${{ steps.version.outputs.major }}" >> $GITHUB_ENV
2727
- name: Subtract
28-
run: echo "DELETE_VERSION=$((${{ github.event.inputs.majorVersion }}-2))" >> $GITHUB_ENV
28+
run: echo "DELETE_VERSION=$((${{ steps.version.outputs.major }}-2))" >> $GITHUB_ENV
2929

3030
# Set tag as env variable
3131
- name: Set tag as env variable
@@ -70,7 +70,7 @@ jobs:
7070
uses: './.github/actions/helm-delivery'
7171
with:
7272
task: 'remove'
73-
release: '${{ env.DELETE_VERSION }}'
73+
release: 'v${{ env.DELETE_VERSION }}'
7474
namespace: '${{ env.NAMESPACE }}'
7575
version: '${{ env.TAG }}'
7676
chart: 'kubernetes-versioning'

0 commit comments

Comments
 (0)