16 Commits
v0.1.0 ... main

Author SHA1 Message Date
74f5691e27 chore(changelog): update unreleased changelog 2025-06-14 15:43:12 +00:00
aa25ceb957 chore(workflows): improve git-cliff installation and tagging
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 14s
Build and Publish nightly package / build-and-publish (push) Successful in 31s
- Add `--locked` flag to ensure reproducible git-cliff builds
- Set author and committer dates for consistent tag timestamps
- Fix minor formatting inconsistencies in the workflow file
2025-06-14 17:42:51 +02:00
cda07a61f7 chore(changelog): update unreleased changelog 2025-05-26 15:28:09 +00:00
8d5f168a10 feat(workflows): add release sync to GitHub and clean up
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
Build and Publish nightly package / build-and-publish (push) Successful in 17s
- Integrates Releases Sync Action into the build-and-deploy workflow
- Removes the redundant sync-github workflow for simplification
- Fixes minor formatting issues for consistency
2025-05-26 17:27:56 +02:00
910f1d6eed chore(changelog): update unreleased changelog 2025-05-26 15:15:03 +00:00
de05716b07 fix(workflows): correct token syntax in releases sync action
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 7s
Build and Publish nightly package / build-and-publish (push) Successful in 17s
- Replace `${{ ACTIONS_RUNTIME_TOKEN }}` with `$ACTIONS_RUNTIME_TOKEN`
  to fix incorrect token reference in the workflow configuration.
- Ensures proper authentication for the releases sync action.
2025-05-26 17:14:48 +02:00
1986083586 chore(changelog): update unreleased changelog 2025-05-26 14:47:01 +00:00
e875e781a7 chore(workflows): enable release event handling in sync-github
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 2s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
Build and Publish nightly package / build-and-publish (push) Successful in 16s
2025-05-26 16:46:48 +02:00
c06d22e124 chore(changelog): update unreleased changelog 2025-05-26 14:43:16 +00:00
81b2339ea6 feat(workflows): add Gitea integration to sync action
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Build and Publish nightly package / build-and-publish (push) Successful in 16s
Auto Changelog & Release / changelog-only (push) Successful in 6s
- Introduces Gitea-specific inputs to the releases sync action
  for token, URL, owner, and repository configuration.
- Enhances compatibility with Gitea platforms.
2025-05-26 16:43:00 +02:00
9f3f60fbf2 chore(changelog): update unreleased changelog 2025-05-26 14:38:59 +00:00
45a61134d6 chore(workflows): remove unnecessary checkout step
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 7s
Build and Publish nightly package / build-and-publish (push) Successful in 17s
- Eliminates the redundant checkout step in the sync workflow
- Simplifies the workflow by focusing on the releases sync action
2025-05-26 16:38:46 +02:00
7720343173 chore(changelog): update unreleased changelog 2025-05-26 14:34:58 +00:00
e4785769ea feat(workflows): add GitHub release sync workflow
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
Build and Publish nightly package / build-and-publish (push) Successful in 58s
- Introduces a workflow to synchronize releases with GitHub
- Supports manual triggers with optional tag input
- Utilizes a custom releases sync action for automation
2025-05-26 16:34:43 +02:00
9494fa3619 chore(changelog): update unreleased changelog 2025-05-26 14:33:13 +00:00
8b3117fdca feat(workflows): add GitHub release sync workflow
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s
Build and Publish nightly package / build-and-publish (push) Successful in 58s
- Introduces a workflow to synchronize releases with GitHub
- Supports manual triggers with optional tag input
- Utilizes a custom releases sync action for automation
2025-05-26 16:32:58 +02:00
3 changed files with 41 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ name: Build and Publish nightly package
on:
release:
types: [published]
types: [published]
jobs:
build-and-publish:
@@ -59,6 +59,18 @@ jobs:
run: .gitea/scripts/get-release-id.sh "${{ github.event.release.tag_name }}"
- name: Upload assets
run: |
run: |
.gitea/scripts/upload-asset.sh ./dist/${{ steps.get_whl.outputs.whl_file }}
.gitea/scripts/upload-asset.sh ./dist/${{ steps.get_whl.outputs.sdist_file }}
.gitea/scripts/upload-asset.sh ./dist/${{ steps.get_whl.outputs.sdist_file }}
- name: Run Releases Sync Action
uses: https://git.0xmax42.io/actions/releases-sync@main
with:
gitea_token: $ACTIONS_RUNTIME_TOKEN
gitea_url: https://git.0xmax42.io
gitea_owner: maxp
gitea_repo: ait
tag_name: ${{ inputs.tag || github.event.release.tag_name }}
github_token: ${{ secrets.SYNC_GITHUB_TOKEN }}
github_owner: 0xMax42
github_repo: ait

View File

@@ -4,7 +4,7 @@ on:
push:
branches:
- main
- '**'
- "**"
jobs:
detect-version-change:
@@ -69,7 +69,7 @@ jobs:
- name: Install git-cliff
if: steps.restore-cliff.outputs.cache-hit != 'true'
run: |
cargo install git-cliff --version "${{ steps.cliff_version.outputs.version }}" --features gitea
cargo install git-cliff --locked --version "${{ steps.cliff_version.outputs.version }}" --features gitea
- name: Generate unreleased changelog (if file exists or on main)
run: |
@@ -124,8 +124,8 @@ jobs:
- name: Install git-cliff
if: steps.restore-cliff.outputs.cache-hit != 'true'
run: |
cargo install git-cliff --version "${{ steps.cliff_version.outputs.version }}" --features gitea
cargo install git-cliff --locked --version "${{ steps.cliff_version.outputs.version }}" --features gitea
- name: Generate changelog for release and tag
id: generate-changelog
run: |
@@ -152,7 +152,6 @@ jobs:
echo "changelog_body_path=$BODY" >> $GITHUB_OUTPUT
- name: Commit updated CHANGELOG
run: |
git add CHANGELOG.md
@@ -169,12 +168,14 @@ jobs:
if git rev-parse "v$VERSION" >/dev/null 2>&1; then
echo "Tag v$VERSION already exists, skipping tag creation."
else
export GIT_AUTHOR_DATE="$(date --iso-8601=seconds)"
export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"
git tag -a "v$VERSION" -F "${{ steps.generate-changelog.outputs.changelog_body_path }}" --cleanup=verbatim
git push origin "v$VERSION"
fi
- name: Create Gitea release
env:
env:
RELEASE_PUBLISH_TOKEN: ${{ secrets.RELEASE_PUBLISH_TOKEN }}
run: |
VERSION=${{ steps.version.outputs.value }}

View File

@@ -2,6 +2,25 @@
All notable changes to this project will be documented in this file.
## [unreleased]
### 🚀 Features
- *(workflows)* Add release sync to GitHub and clean up - ([8d5f168](https://git.0xmax42.io/maxp/ait/commit/8d5f168a10e674effe27aab69d348c52f3f8a58f))
- *(workflows)* Add Gitea integration to sync action - ([81b2339](https://git.0xmax42.io/maxp/ait/commit/81b2339ea6d67a73dd62fb67b41db60388750610))
- *(workflows)* Add GitHub release sync workflow - ([e478576](https://git.0xmax42.io/maxp/ait/commit/e4785769eac1dae3945a388dd745fa43555ea4da))
- *(workflows)* Add GitHub release sync workflow - ([8b3117f](https://git.0xmax42.io/maxp/ait/commit/8b3117fdca5c9cd20cfb9ac3cfe0b0f1ee5f9656))
### 🐛 Bug Fixes
- *(workflows)* Correct token syntax in releases sync action - ([de05716](https://git.0xmax42.io/maxp/ait/commit/de05716b072f81351c603d82dafa17ee751b3dad))
### ⚙️ Miscellaneous Tasks
- *(workflows)* Improve git-cliff installation and tagging - ([aa25ceb](https://git.0xmax42.io/maxp/ait/commit/aa25ceb957a07a5267bfd53dea8c58827c9c6840))
- *(workflows)* Enable release event handling in sync-github - ([e875e78](https://git.0xmax42.io/maxp/ait/commit/e875e781a73349e6ac7092e3c599bdfb2526e08e))
- *(workflows)* Remove unnecessary checkout step - ([45a6113](https://git.0xmax42.io/maxp/ait/commit/45a61134d6f8112c710fa1acdfb8c6205da287b4))
## [0.1.0] - 2025-05-24
### 🚀 Features