-
Notifications
You must be signed in to change notification settings - Fork 0
Release/v0.4.1 #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/v0.4.1 #33
Changes from all commits
23bf459
40bce1b
e129ee7
c303a3a
4479b05
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -14,7 +14,6 @@ jobs: | |||||||||
| outputs: | ||||||||||
| appname: gixor | ||||||||||
| tag: ${{ steps.vars.outputs.tag }} | ||||||||||
| upload_url: ${{ steps.create_release.outputs.upload_url }} | ||||||||||
| steps: | ||||||||||
| - name: Git Tag name | ||||||||||
| id: vars | ||||||||||
|
|
@@ -24,12 +23,14 @@ jobs: | |||||||||
|
|
||||||||||
| - name: Create release | ||||||||||
| id: create_release | ||||||||||
| uses: softprops/action-gh-release@v2 | ||||||||||
| with: | ||||||||||
| tag_name: v${{ steps.vars.outputs.tag }} | ||||||||||
| name: Release v${{ steps.vars.outputs.tag }} | ||||||||||
| draft: true | ||||||||||
| prerelease: false | ||||||||||
| env: | ||||||||||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||||||
| run: | | ||||||||||
| gh release create v${{ steps.vars.outputs.tag }} \ | ||||||||||
| --draft \ | ||||||||||
| --repo $GITHUB_REPOSITORY \ | ||||||||||
| --title "Release v${{ steps.vars.outputs.tag }}" \ | ||||||||||
| --generate-notes | ||||||||||
|
|
||||||||||
| publish: | ||||||||||
| runs-on: ${{ matrix.os }} | ||||||||||
|
Comment on lines
35
to
36
|
||||||||||
|
|
@@ -128,6 +129,8 @@ jobs: | |||||||||
| # publish release | ||||||||||
| - name: Create release file | ||||||||||
| shell: bash | ||||||||||
| env: | ||||||||||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||||||
| run: | | ||||||||||
| DIR=${{ steps.vars.outputs.dir }} | ||||||||||
| DIST=${{ matrix.target }} | ||||||||||
|
|
@@ -136,17 +139,18 @@ jobs: | |||||||||
| cp -r README.md LICENSE assets dist/$DIST/$DIR | ||||||||||
| cp target/${{ matrix.target }}/release/${{ matrix.artifact_name }}-cli dist/$DIST/$DIR/${{ matrix.artifact_name }} | ||||||||||
| tar cvfz dist/${{ matrix.asset_name }}.tar.gz -C dist/$DIST $DIR | ||||||||||
| gh release upload v${{ needs.setup.outputs.tag }} dist/${{ matrix.asset_name }}.tar.gz --repo $GITHUB_REPOSITORY | ||||||||||
|
||||||||||
|
|
||||||||||
| - name: Upload release assets | ||||||||||
| id: upload-release-assets | ||||||||||
| uses: actions/upload-release-asset@v1.0.1 | ||||||||||
| env: | ||||||||||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||||||
| with: | ||||||||||
| asset_path: dist/${{ matrix.asset_name }}.tar.gz | ||||||||||
| asset_name: ${{ matrix.asset_name }}.tar.gz | ||||||||||
| asset_content_type: application/x-gzip | ||||||||||
| upload_url: ${{ needs.setup.outputs.upload_url }} | ||||||||||
| # - name: Upload release assets | ||||||||||
| # id: upload-release-assets | ||||||||||
| # uses: actions/upload-release-asset@v1.0.1 | ||||||||||
| # env: | ||||||||||
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||||||
| # with: | ||||||||||
| # asset_path: dist/${{ matrix.asset_name }}.tar.gz | ||||||||||
| # asset_name: ${{ matrix.asset_name }}.tar.gz | ||||||||||
| # asset_content_type: application/x-gzip | ||||||||||
| # upload_url: ${{ needs.setup.outputs.upload_url }} | ||||||||||
|
|
||||||||||
| docker: | ||||||||||
| needs: publish | ||||||||||
|
|
@@ -194,13 +198,15 @@ jobs: | |||||||||
| cache-from: type=registry,ref=ghcr.io/${{ github.repository}}:buildcache | ||||||||||
| cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache,mode=max | ||||||||||
|
|
||||||||||
| release: | ||||||||||
| finalize_release: | ||||||||||
| needs: publish | ||||||||||
| runs-on: ubuntu-latest | ||||||||||
|
||||||||||
| runs-on: ubuntu-latest | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,10 +8,10 @@ date: 2025-02-25 | |||||
| [](https://coveralls.io/github/tamada/gixor?branch=main) | ||||||
| [](https://rust-reportcard.xuri.me/report/github.com/tamada/gixor) | ||||||
|
|
||||||
| [](https://github.com/tamada/gixor/releases/tag/v0.4.0) | ||||||
| [](https://github.com/tamada/gixor/releases/tag/v0.4.1) | ||||||
| [](https://github.com/tamada/gixor/blob/main/LICENSE) | ||||||
|
|
||||||
| [](https://github.com/tamada/gixor/pkgs/container/gixor/) | ||||||
| [](https://github.com/tamada/gixor/pkgs/container/gixor/) | ||||||
| [](https://github.com/tamada/homebrew-tap) | ||||||
|
|
||||||
| Gixor is Git Ignore Managenemnt System for Multiple Repositories. | ||||||
|
||||||
| Gixor is Git Ignore Managenemnt System for Multiple Repositories. | |
| Gixor is Git Ignore Management System for Multiple Repositories. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
gh release createcommand requires authentication but noenvsection withGH_TOKENorGITHUB_TOKENis defined. Add anenvsection withGH_TOKEN: ${{ secrets.GITHUB_TOKEN }}to ensure the command can authenticate properly, similar to thefinalize_releasejob at line 205.