Skip to content

Commit 288a7b7

Browse files
Updated the GitHub action to release plugins (#1433)
1 parent 5d1a577 commit 288a7b7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release-plugins.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323

2424
- name: Create tar file of the plugins folder
2525
run: |
26-
tar -czvf kubeplus-kubectl-plugins-${{ github.event.inputs.version }}.tar.gz -C plugins .
26+
tar -cvf kubectl-plugins-${{github.event.inputs.version}}.tar plugins/
27+
gzip kubectl-plugins-${{github.event.inputs.version}}.tar
28+
29+
#tar -czvf kubectl-plugins-${{ github.event.inputs.version }}.tar.gz -C plugins .
2730
2831
- name: Create GitHub release and upload asset
2932
env:
@@ -34,7 +37,7 @@ jobs:
3437
NOTES="Release of kubeplus kubectl plugins version ${{ github.event.inputs.version }}"
3538
fi
3639
37-
gh release create kubeplus-kubectl-plugins-${{ github.event.inputs.version }} \
38-
kubeplus-kubectl-plugins-${{ github.event.inputs.version }}.tar.gz \
40+
gh release create kubectl-plugins-${{ github.event.inputs.version }} \
41+
kubectl-plugins-${{ github.event.inputs.version }}.tar.gz \
3942
--title "Release kubeplus-kubectl-plugins-${{ github.event.inputs.version }}" \
4043
--notes "$NOTES"

0 commit comments

Comments
 (0)