ci/fix-git-commands #100

Merged
servostar merged 3 commits from ci/fix-git-commands into main 2024-11-25 13:56:06 +00:00
2 changed files with 3 additions and 4 deletions

View File

@ -38,8 +38,9 @@ jobs:
sed -i "/version/c\version = \"${VERSION#v}\"" typst.toml sed -i "/version/c\version = \"${VERSION#v}\"" typst.toml
git add typst.toml git add typst.toml
git commit -m "chore: bump release version to $VERSION" git commit -m "chore: bump release version to $VERSION"
git push origin main
echo "::endgroup::" echo "::endgroup::"
echo "::group::{Tag commit}" echo "::group::{Tag commit}"
git tag -m "Release" "${VERSION}" git tag -m "Release" "${VERSION}"
git push "${VERSION}" git push origin "${VERSION}"
echo "::endgroup::" echo "::endgroup::"

View File

@ -1,10 +1,8 @@
name: Create Release name: Create Release
on: on:
push: push:
branches:
- main
tags: tags:
- v*.*.* - 'v[0-9]+.[0-9]+.[0-9]+'
jobs: jobs:
build: build:
name: Check Template and Build example name: Check Template and Build example