Skip to content

Perform a release

Perform a release #3

---
name: Perform a release
on: [workflow_dispatch] # yamllint disable-line rule:truthy
jobs:
build-images:
runs-on: ubuntu-latest
steps:
- id: version
name: Get version string
run: echo "VERSION=v$(date +'%Y.%m.%d').${{ github.run_number }}" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.VERSION }}
release_name: Release ${{ steps.version.outputs.VERSION }}
draft: true