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

Reuse tag instead of calculating for release build #208

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Jul 31, 2024

The Makefile used by dependenent projects attempts to reuse the REPO_VERSION environment variable if set, otherwise falls back to generating a new value using git-describe-semver.

This tool becomes confused if two tags point to the same commit and does not know which tag to list (ideally the latest stable tag if matching the same commit as a RC tag) so we work around that by always having release builds use the tag provided by GitHub Actions (which matches exactly the tag pushed).

The Makefile used by dependenent projects attempts to reuse the
`REPO_VERSION` environment variable if set, otherwise falls back
to generating a new value using `git-describe-semver`.

This tool becomes confused if two tags point to the same commit
and does not know which tag to list (ideally the latest stable
tag if matching the same commit as a RC tag) so we work around
that by always having release builds use the tag provided by
GitHub Actions (which matches exactly the tag pushed).
@atc0005 atc0005 added enhancement New feature or request builds labels Jul 31, 2024
@atc0005 atc0005 self-assigned this Jul 31, 2024
@atc0005 atc0005 merged commit 7e269e6 into master Jul 31, 2024
3 checks passed
@atc0005 atc0005 deleted the reuse-tag-instead-of-calculating-for-release-builds branch July 31, 2024 11:05
atc0005 added a commit to atc0005/safelinks that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/safelinks that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/send2teams that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/send2teams that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/tsm-pass that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/tsm-pass that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/nagios-debug that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/nagios-debug that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/query-meta that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/query-meta that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/dnsc that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/dnsc that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-process that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-restart that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-restart that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-rsat that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-rsat that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-ssh that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-ssh that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-statuspage that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-statuspage that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-vmware that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-vmware that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-whois that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/check-whois that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/mysql2sqlite that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
atc0005 added a commit to atc0005/mysql2sqlite that referenced this pull request Jul 31, 2024
Set `REPO_VERSION` via Podman and Docker container run commands
to properly have any externally set value (e.g., GitHub Actions)
inherited by the container build environment.

See also:

- atc0005/shared-project-resources#208
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant