Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,29 @@ on:
# Allow manual trigger
workflow_dispatch:

permissions:
contents: write
pull-requests: write

env:
# Necessary for most environments
CGO_ENABLED: 1

jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}

release-build:
needs: release-please
if: ${{ needs.release-please.outputs.release_created || github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/v') }}
name: Release Build
strategy:
fail-fast: false
Expand All @@ -38,6 +55,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ needs.release-please.outputs.tag_name || github.ref }}

- name: Setup Go
uses: actions/setup-go@v5
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.9.4"
}
2 changes: 1 addition & 1 deletion build/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ info:
description: "DevToolbox" # The application description
copyright: "(c) 2026, Vuong" # Copyright text
comments: "DevToolbox is a set of useful tools for daily development." # Comments
version: "0.0.1" # The application version
version: "0.9.4" # The application version
# cfBundleIconName: "appicon" # The macOS icon name in Assets.car icon bundles (optional)
# # Should match the name of your .icon file without the extension
# # If not set and Assets.car exists, defaults to "appicon"
Expand Down
12 changes: 12 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"packages": {
".": {
"package-name": "devtoolbox",
"release-type": "go",
"include-component-in-tag": false,
"extra-files": [
"build/config.yml"
]
}
}
}
Loading