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

Makefile: Compress binaries and use fixed filenames #773

Closed
atc0005 opened this issue Mar 5, 2023 · 0 comments · Fixed by #776
Closed

Makefile: Compress binaries and use fixed filenames #773

atc0005 opened this issue Mar 5, 2023 · 0 comments · Fixed by #776
Assignees
Labels
builds dependencies enhancement New feature or request packages Related to generated packages for this project (e.g., RPM, DEB)
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Mar 5, 2023

Overview

Changes:

  • static filenames (without version component)
  • compressed via xz

This is a step towards release automation and simplifying the deployment process.

References

@atc0005 atc0005 added enhancement New feature or request builds dependencies packages Related to generated packages for this project (e.g., RPM, DEB) labels Mar 5, 2023
@atc0005 atc0005 added this to the Next Release milestone Mar 5, 2023
@atc0005 atc0005 self-assigned this Mar 5, 2023
atc0005 added a commit that referenced this issue Mar 5, 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
- 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
- Makefile: Compress binaries and use fixed filenames
  - static filenames (without version component)
  - compressed via `xz`
- 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`

refs GH-770
refs GH-771
refs GH-772
refs GH-773
refs GH-774
refs GH-775
atc0005 added a commit that referenced this issue Mar 5, 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
- 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
- Makefile: Compress binaries and use fixed filenames
  - static filenames (without version component)
  - compressed via `xz`
- 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
  - note DEB and RPM packages as alternatives to downloading
    individual binaries

refs GH-770
refs GH-771
refs GH-772
refs GH-773
refs GH-774
refs GH-775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds dependencies enhancement New feature or request 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