Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Create Release for version 1.1.1 #8

Create Release for version 1.1.1

Create Release for version 1.1.1 #8

Workflow file for this run

name: Create Release
run-name: Create Release for version ${{ github.event.inputs.version }}
on:
workflow_dispatch:
inputs:
version:
description: 'Version to release'
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
create-release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/supreme'
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create a tag
run: |
git tag v${{ github.event.inputs.version }}
git push origin v${{ github.event.inputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.K8S_GH_TOKEN }}
- name: Create a GitHub release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.event.inputs.version }}
release_name: v${{ github.event.inputs.version }}
draft: false
prerelease: false