Skip to content

convert to date-based versioning and noarch architecture#144

Merged
anishapant21 merged 4 commits intodevfrom
rgingras/fix/release-action
Mar 4, 2026
Merged

convert to date-based versioning and noarch architecture#144
anishapant21 merged 4 commits intodevfrom
rgingras/fix/release-action

Conversation

@runleveldev
Copy link
Copy Markdown
Contributor

@runleveldev runleveldev commented Mar 3, 2026

This pull request updates the packaging and release workflow for the LDAP Gateway project to simplify architecture handling and standardize package metadata. The main improvements include switching to architecture-independent package builds, streamlining the GitHub Actions workflow, and updating package metadata for consistency.

Packaging and architecture simplification:

  • The build workflow now creates architecture-independent Debian and RPM packages (arch: "all" for deb, noarch for rpm) instead of separate builds for amd64 and arm64. The matrix strategy and related config manipulation were removed to reflect this change. (.github/workflows/build-and-release.yml [1] [2] [3]
  • The nfpm configuration file (nfpm/nfpm.yaml) was updated to use dynamic versioning and standardized metadata, including arch: "all", release: 1, and corrected vendor/maintainer names. (nfpm/nfpm.yaml [1] [2]

Workflow and artifact improvements:

  • The GitHub Actions workflow now uploads a single package artifact set instead of separate ones per architecture, and the release step matches the new package naming convention. (.github/workflows/build-and-release.yml [1] [2]
  • The server version is now extracted from the latest git commit date rather than the package.json file, ensuring version consistency with source control. (.github/workflows/build-and-release.yml .github/workflows/build-and-release.ymlL84-R84)
  • The checksum generation step was simplified to only include .deb and .rpm files, removing handling for .tar.gz files. (.github/workflows/build-and-release.yml .github/workflows/build-and-release.ymlL271-L273)

@runleveldev runleveldev requested a review from anishapant21 March 3, 2026 15:18
@runleveldev
Copy link
Copy Markdown
Contributor Author

@anishapant21 can you ping me on Rocket when this gets merged to main?

@runleveldev runleveldev force-pushed the rgingras/fix/release-action branch from f70446f to aa93b86 Compare March 3, 2026 15:27
@runleveldev runleveldev changed the title convert to tag-based versioning and noarch architecture convert to date-based versioning and noarch architecture Mar 3, 2026
@runleveldev runleveldev force-pushed the rgingras/fix/release-action branch from aa93b86 to be67f3d Compare March 3, 2026 15:29
@anishapant21 anishapant21 merged commit 403b135 into dev Mar 4, 2026
13 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.

2 participants