Skip to content

Conversation

@Salipa-Gurung
Copy link
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

Copy link
Member

@individual-it individual-it left a comment

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?

- name: set up go
uses: actions/setup-go@v5
with:
go-version: "1.22"
Copy link
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
Copy link
Contributor Author

Salipa-Gurung commented Feb 24, 2025

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.

3 participants