Skip to content
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

Automatically attach artifacts to version release (+ fixes) #131

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

jacekkow
Copy link
Contributor

There are three packaging/workflow related changes in this PR:

  1. It seems that fpm not saving the artifact in the dist/ directory is not the only problem. Actually the resulting RPMs contain the whole dist directory with all the binary artifacts for all the architectures! First commit removes the --package $(DIST_DIR) option from fpm invocation when generating the RPM, fixing the issue.
  2. Second commit is just an upgrade of GitHub action to the latest version.
  3. Third one will automatically create a GitHub release with the artifacts whenever a version tag is added to the repository. This way I can always download the latest package from GitHub and don't have to generate it on my own. Note that the latest release is missing the binaries.

Copy link
Collaborator

@ties ties left a comment

Choose a reason for hiding this comment

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

Looks good. One question, one nit.

Makefile Show resolved Hide resolved
.github/workflows/go.yml Show resolved Hide resolved
@job job merged commit 5fe99a5 into bgp:master Oct 30, 2024
3 checks passed
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