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

Update release process to create a separate tag for registry-scanner #1022

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ishitasequeira
Copy link
Collaborator

@ishitasequeira ishitasequeira commented Jan 27, 2025

Update release process to create a separate tag for registry-scanner.

Currently, keeping the release version of registry-scanner same as image updater. Let me know if we need to change this version matching for image-updater and registry-scanner.

@ishitasequeira ishitasequeira changed the title Update release script Update release process to create a separate tag for registry-scanner Jan 27, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.26%. Comparing base (980eff5) to head (c6ac26a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1022   +/-   ##
=======================================
  Coverage   63.26%   63.26%           
=======================================
  Files          15       15           
  Lines        2243     2243           
=======================================
  Hits         1419     1419           
  Misses        733      733           
  Partials       91       91           

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

@ishitasequeira ishitasequeira marked this pull request as ready for review January 27, 2025 13:53
@chengfang
Copy link
Collaborator

I personally prefer to have the release files contained under registry-scanner itself. I guess pretty soon these 2 will diverge in versions. Then for image-updater, registry-scanner is just another dependency to manage.

go mod download && go mod tidy

# Commit and push the changes
git commit -m "Release ${NEW_VERSION}" VERSION go.mod go.sum manifests/
git push --set-upstream ${REMOTE} "feat/new-version-${NEW_VERSION}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need git add before commit?

git commit -m "Release ${NEW_VERSION}" VERSION manifests/

# Create tag for registry-scanner
git tag -a ${IMAGE_TAG} -m "Registry-Scanner Release ${IMAGE_TAG}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I remember reading somewhere that tagging a sub-module needs to have the sub-module name as prefix, something like registry-scanner/v0.16.0 as the tag name. Otherwise, one can't tell if this tag is for the main module, or any sub-module.

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.

3 participants