Files
LLMScaffolding/.gitea/workflows/release.yml
Charles N Wyble 408db0d0cc
Some checks failed
CI / checks (pull_request) Waiting to run
CI / checks (push) Has been cancelled
chore(ci): bootstrap CI + hooks
Squash-merge bootstrap-cicd into integration
2025-09-10 21:48:32 +00:00

30 lines
696 B
YAML

name: Release
on:
push:
branches: ["main"]
jobs:
tag-and-notes:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build CI image
run: docker build -f ci.Dockerfile -t local/ci:latest .
- name: Compute tag
id: tag
run: |
TZ=UTC date +"v%Y.%m.%d-%H%M" > tag.txt
echo "tag=$(cat tag.txt)" >> $GITHUB_OUTPUT
- name: Create annotated tag
run: |
git config user.name "ci"
git config user.email "ci@local"
git tag -a ${{ steps.tag.outputs.tag }} -m "Release ${{ steps.tag.outputs.tag }}"
git push origin ${{ steps.tag.outputs.tag }}