ci: fix-git-commands (#100)
Create Release Commit / prepare (push) Failing after 35s Details

Release-As: v0.5.3
Reviewed-on: #100
Co-authored-by: servostar <sven.vogel123@web.de>
Co-committed-by: servostar <sven.vogel123@web.de>
This commit is contained in:
Sven Vogel 2024-11-25 13:56:06 +00:00 committed by Sven Vogel
parent 728e451e66
commit cc855667cc
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