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

build: If on a pre-release, use the SemVer with SHA1 metadata #7625

Merged
merged 3 commits into from
Oct 4, 2023

Conversation

sschuberth
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (6c0f1dc) 68.03% compared to head (5747aa6) 68.03%.

❗ Current head 5747aa6 differs from pull request most recent head a573a40. Consider uploading reports for the commit a573a40 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #7625   +/-   ##
=========================================
  Coverage     68.03%   68.03%           
  Complexity     2022     2022           
=========================================
  Files           344      344           
  Lines         16725    16725           
  Branches       2371     2371           
=========================================
  Hits          11379    11379           
  Misses         4363     4363           
  Partials        983      983           
Flag Coverage Δ
test 35.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

fviernau
fviernau previously approved these changes Oct 4, 2023
@fviernau fviernau force-pushed the pre-release-semver branch from 0e3fcae to 5747aa6 Compare October 4, 2023 13:18
The `rename()` function's source argument is interpreted as a regex.
Escape any special chars to support e.g. `+` as part of the file name.

Signed-off-by: Sebastian Schuberth <[email protected]>
SemVers may contain `+` as part of the "build" suffix.

Signed-off-by: Sebastian Schuberth <[email protected]>
This results the version string for a non-tagged commit to be something
like `3.0.0-SNAPSHOT+032.sha.2ad228b`. The version string for a tagged
commit is not affected.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth requested review from fviernau and a team October 4, 2023 14:05
@sschuberth sschuberth enabled auto-merge (rebase) October 4, 2023 14:06
@sschuberth sschuberth merged commit 311ab74 into main Oct 4, 2023
20 checks passed
@sschuberth sschuberth deleted the pre-release-semver branch October 4, 2023 15:33
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