Skip to content

Merge pull request #19 from koldex/feature/add-camap-fork #2

Merge pull request #19 from koldex/feature/add-camap-fork

Merge pull request #19 from koldex/feature/add-camap-fork #2

Workflow file for this run

name: Create Release
on:
push:
branches: [main]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Determine tag
id: tag
run: |
base="v$(date -u +%Y.%m.%d)"
existing=$(git tag -l "${base}*" | wc -l | tr -d ' ')
if [ "$existing" -eq 0 ]; then
echo "tag=${base}" >> "$GITHUB_OUTPUT"
else
echo "tag=${base}.${existing}" >> "$GITHUB_OUTPUT"
fi
- name: Create release
env:
GH_TOKEN: ${{ github.token }}
run: gh release create "${{ steps.tag.outputs.tag }}" --generate-notes