Skip to content

Add release job#18

Merged
individual-it merged 1 commit into
mainfrom
add-release-job
Jul 23, 2025
Merged

Add release job#18
individual-it merged 1 commit into
mainfrom
add-release-job

Conversation

@Salipa-Gurung

Copy link
Copy Markdown
Contributor

This pr adds CI job to create and release artifacts when a tag event is triggered. GoReleaser action is used to build, create, archive and upload artifacts.

Note: This pr is on top of CI set up pr #17

@individual-it individual-it left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what will be the name of the release after pushing the tag?

Comment thread .github/workflows/ci.yml Outdated
- name: set up go
uses: actions/setup-go@v5
with:
go-version: "1.22"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

best to add this version in a variable, because it's also used in running the tests. We do not want to accidentally to have those versions diverge.

@Salipa-Gurung

Salipa-Gurung commented Feb 24, 2025

Copy link
Copy Markdown
Contributor Author

artifacts would be named as repo_name_tag_linux_amd64.tar.gz like test_1.0.2_linux_amd64.tar.gz

@individual-it
individual-it merged commit 0f170aa into main Jul 23, 2025
2 checks passed
@individual-it
individual-it deleted the add-release-job branch July 23, 2025 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants