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

Generate RPM/DEB packages using nFPM #95

Closed
atc0005 opened this issue Mar 5, 2023 · 1 comment · Fixed by #111
Closed

Generate RPM/DEB packages using nFPM #95

atc0005 opened this issue Mar 5, 2023 · 1 comment · Fixed by #111
Assignees
Labels
builds dependencies documentation Improvements or additions to documentation enhancement New feature or request linux packages Related to generated packages for this project (e.g., RPM, DEB)
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Mar 5, 2023

Overview

Add support to generate:

  • "stable" release packages
  • "dev" release packages
    • provides binaries with _dev suffix in order to more easily test the impact of new releases

References

@atc0005 atc0005 added documentation Improvements or additions to documentation enhancement New feature or request builds packages Related to generated packages for this project (e.g., RPM, DEB) labels Mar 5, 2023
@atc0005 atc0005 added this to the Next minor release milestone Mar 5, 2023
@atc0005 atc0005 self-assigned this Mar 5, 2023
@atc0005
Copy link
Owner Author

atc0005 commented Mar 9, 2023

Generating RPM/DEB packages is a useful step even though there isn't Linux support yet. I would just update the release-build Makefile recipe to exclude actually generating those packages.

These GH issues will implement support for Linux systems:

with package generation already implemented it will be one less thing to loop back to.

atc0005 added a commit that referenced this issue Mar 9, 2023
- Switch to semantic versioning (semver) compatible versioning pattern
  - filenames (where applicable)
  - embedded version metadata
- Generate RPM/DEB packages using nFPM
  - "stable" release packages
  - "dev" release packages
    - provides binaries with `_dev` suffix in order to more easily
      test the impact of new releases
  - NOTE: Even though this project does not yet provide tools usable
    on non-Windows systems the plan is to do so; we stub out future
    package support in anticipation of adding Linux support "soon"
- Add version metadata to Windows executables
  - Use `github.com/tc-hib/go-winres` and `winres.json` file to apply
    version details to Windows executables provided by this project
  - update `.gitignore` to exclude Windows syso files
    - these files are produced when running go generate as part of the
      build process and should not be retained in version control
- Makefile: Compress binaries and use fixed filenames
- Makefile: Refresh recipes to add "standard" set, new package-related
  options
- Build dev/stable releases using go-ci Docker image
- Add Dockerfile to provide "builder" image for Makefile-driven
  release builds
- Update Dependabot configuration to add update monitoring for
  `go-ci-oldstable-build` image
- Add Docker-based build recipes to Makefile
  - `docker-release-build`
  - `docker-dev-build`
  - `docker-packages`
- Update README
  - note decompression step needed after downloading individual
    binaries or building via some Makefile recipes

refs GH-94
refs GH-95
refs GH-96
refs GH-97
refs GH-98
refs GH-99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds dependencies documentation Improvements or additions to documentation enhancement New feature or request linux packages Related to generated packages for this project (e.g., RPM, DEB)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant