Merge pull request 'Adjust semantic release workflow' (#1) from guilhem/semver into main
Some checks failed
Build and create binary artifact / release (push) Successful in 3m2s
Check code passes formatting and lint rules / check (push) Successful in 2m37s
Check code passes formatting and lint rules / cargo fmt (push) Successful in 2m11s
Release / release (push) Failing after 4m29s

Reviewed-on: #1
This commit is contained in:
Guilhem Lavaux 2025-06-30 06:14:35 +00:00
commit 1304057b32
5 changed files with 934 additions and 3 deletions

View file

@ -1,3 +1,5 @@
name: Check code passes formatting and lint rules
on: [push] on: [push]
jobs: jobs:
check: check:

View file

@ -1,4 +1,9 @@
on: [push] name: Build and create binary artifact
on:
push:
branches:
- main
jobs: jobs:
release: release:
runs-on: docker runs-on: docker
@ -8,5 +13,5 @@ jobs:
- run: cargo build --release - run: cargo build --release
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: binary name: binary
path: target/release/forgejo_automate path: target/release/forgejo_automate

View file

@ -16,6 +16,13 @@
"assets": ["CHANGELOG.md", "VERSION"], "assets": ["CHANGELOG.md", "VERSION"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
} }
],
[
"@saithodev/semantic-release-gitea",
{
"giteaUrl": "https://git.aquila-consortium.org",
"assets": ["CHANGELOG.md"]
}
] ]
] ]
} }

916
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -17,6 +17,7 @@
"license": "ISC", "license": "ISC",
"type": "commonjs", "type": "commonjs",
"devDependencies": { "devDependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/exec": "^7.1.0", "@semantic-release/exec": "^7.1.0",