Skip to content

revert: add symlink (#72) #6

revert: add symlink (#72)

revert: add symlink (#72) #6

## Reference: https://github.com/release-drafter/release-drafter
name: Create Release
on:
push:
branches:
- rootless
jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
permissions:
pull-requests: read
statuses: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up YQ
uses: frenck/action-setup-yq@v1
- name: Get release version from service.yaml
run: |
RELEASE_VERSION=$(yq eval '.version' service.yaml )
echo "RELEASE_VERSION=v$RELEASE_VERSION-rootless" >> $GITHUB_ENV
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
publish: true
name: ${{ env.RELEASE_VERSION }}
version: ${{ env.RELEASE_VERSION }}
tag: ${{ env.RELEASE_VERSION }}
config-name: release-drafter.yaml