mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-09-11 13:28:59 +00:00
Add krew-release-bot support (#189)
* try github actions * create release * open pr using krew-release-bot
This commit is contained in:
committed by
Ahmet Alp Balkan
parent
26d3422917
commit
f48c4198e7
29
.github/workflows/release.yml
vendored
Normal file
29
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
- name: Update new version for plugin 'ctx' in krew-index
|
||||
uses: rajatjindal/krew-release-bot@v0.0.31
|
||||
with:
|
||||
krew_template_file: .krew/ctx.yaml
|
||||
- name: Update new version for plugin 'ns' in krew-index
|
||||
uses: rajatjindal/krew-release-bot@v0.0.31
|
||||
with:
|
||||
krew_template_file: .krew/ns.yaml
|
||||
|
||||
|
Reference in New Issue
Block a user