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

Add tag prefix v in release link #1757

Merged
merged 3 commits into from
Jun 15, 2023
Merged

Add tag prefix v in release link #1757

merged 3 commits into from
Jun 15, 2023

Conversation

dstotijn
Copy link
Contributor

No description provided.

@dstotijn dstotijn requested a review from a team as a code owner June 15, 2023 11:05
Copy link
Member

@GeorgeMac GeorgeMac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @dstotijn Thanks for the proposal here!

We've had a long tail of these v issues since we did some work in our gorelease script to support the fact we have a kind of Go monorepo here. The way we fixed it has lead to gorelease stripping the v off the version tag when we release. This is another one of those spots.

The more complete fix here would be to update the following line shown here:

- -s -w -X main.version={{ .Version }} -X main.commit={{ .Commit }} -X main.date={{ .Date }} -X main.analyticsKey={{ .Env.ANALYTICS_KEY }}

-      - -s -w -X main.version={{ .Version }} -X main.commit={{ .Commit }} -X main.date={{ .Date }} -X main.analyticsKey={{ .Env.ANALYTICS_KEY }}
+      - -s -w -X main.version=v{{ .Version }} -X main.commit={{ .Commit }} -X main.date={{ .Date }} -X main.analyticsKey={{ .Env.ANALYTICS_KEY }}

Would you mind changing it there instead in this PR?
Then I will hapily approve and merge. It should then be fixed in the next patch release.
We're putting a patch release out this week as we have some other fixes in the pipeline.

Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dstotijn !! Our release process changed somewhat recently which messed w the tag. Much appreciated!

Edit: what @GeorgeMac said

@codecov
Copy link

codecov bot commented Jun 15, 2023

Codecov Report

Merging #1757 (7ac3084) into main (182662a) will decrease coverage by 0.13%.
The diff coverage is n/a.

❗ Current head 7ac3084 differs from pull request most recent head 86195ce. Consider uploading reports for the commit 86195ce to get more accurate results

@@            Coverage Diff             @@
##             main    #1757      +/-   ##
==========================================
- Coverage   78.04%   77.92%   -0.13%     
==========================================
  Files          55       55              
  Lines        4905     4905              
==========================================
- Hits         3828     3822       -6     
- Misses        853      857       +4     
- Partials      224      226       +2     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dstotijn
Copy link
Contributor Author

Hey gang,
Made the recommended change. Maybe you can double check if githubReleaseChecker.check will still work, but because it uses semver.ParseTolerant, it should be fine with the leading "v".

.goreleaser.yml Outdated Show resolved Hide resolved
@markphelps markphelps added the automerge Used by Kodiak bot to automerge PRs label Jun 15, 2023
@markphelps
Copy link
Collaborator

Thanks again @dstotijn

@markphelps
Copy link
Collaborator

@all-contributors please add @dstotijn for code

@allcontributors
Copy link
Contributor

@markphelps

I've put up a pull request to add @dstotijn! 🎉

@GeorgeMac
Copy link
Member

Nice one @dstotijn ! 🙇

@kodiakhq kodiakhq bot merged commit 4c31b70 into flipt-io:main Jun 15, 2023
markphelps added a commit that referenced this pull request Jun 15, 2023
* main: (21 commits)
  chore: update schemas to include prepared statements
  chore: fix tests for urls
  chore: pgbouncer config fix
  chore(deps): bump formik from 2.4.1 to 2.4.2 in /ui (#1756)
  docs: add dstotijn as a contributor for code (#1759)
  Add tag prefix `v` in release link (#1757)
  fix(storage/sql): set binary_parameters=yes for lib/pq when prepared statements disabled
  chore(deps): bump react-router-dom from 6.12.1 to 6.13.0 in /ui (#1755)
  feat: configure use of prepared statements
  fix: input bg / text in darkmode (#1752)
  chore: rm markphelps from auto assignee on issue templates (#1751)
  docs: add yuvalg99 as a contributor for design (#1748)
  Fixed the dark mode in select component. (#1747)
  feat(telemetry): track storage type and experimental features (#1745)
  chore(deps-dev): bump @types/node from 18.16.17 to 18.16.18 in /ui (#1744)
  chore(deps-dev): bump @typescript-eslint/eslint-plugin in /ui (#1741)
  chore: fix Dagger UI build as node-18 bumped to a different base image of debian (bookworm) (#1746)
  chore(deps-dev): bump @types/react-dom from 18.2.4 to 18.2.5 in /ui (#1740)
  fix: count rules was not taking flagKey into account (#1738)
  chore(deps-dev): bump @types/node from 18.16.16 to 18.16.17 in /ui (#1736)
  ...
@dstotijn dstotijn deleted the patch-1 branch June 28, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Used by Kodiak bot to automerge PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants