action-setup icon indicating copy to clipboard operation
action-setup copied to clipboard

`v2` not up to date

Open privatenumber opened this issue 1 year ago • 6 comments

The v2 ref is not pointing to the latest release, which does not contain the latest standalone config documented in the README: https://github.com/pnpm/action-setup/tree/v2

privatenumber avatar Aug 28 '23 08:08 privatenumber

I'll add to this:

this repo does not have any major or minor tags, only full version tags. This is not the recommended way to handle these.

Major Versions and minor versions should be tagged and have that tag move to the latest applicable tagged release along with the full major.minor.patch versions.

So now, with 2.4.0 the tags v2 v2.4 and v2.4.0 should all be on the same commit.

This can't be done in a PR, it has to be done by someone with write permissions on the repo.

ekwoka avatar Sep 24 '23 12:09 ekwoka

The branch / tag situation has improved, however the v2 branch is at the v2.3.0 release level and does not contain the latest release v2.4.0.

ID type ID commit
branch v2 https://github.com/pnpm/action-setup/commit/0b715c7ebbf3cf2174d1386336c5f6d3d8d5504a
tag v2.4.0 https://github.com/pnpm/action-setup/commit/d882d12c64e032187b2edb46d3a0d003b7a43598
tag v2.3.0 https://github.com/pnpm/action-setup/commit/0b715c7ebbf3cf2174d1386336c5f6d3d8d5504a

It looks like releases are handled in a manual way. You might like to consider automating releases so that branches and tags are automatically updated. Using https://github.com/cycjimmy/semantic-release-action is one way to do this.

MikeMcC399 avatar Sep 27 '23 08:09 MikeMcC399

I am sorry. I have merged master to v2 now.

zkochan avatar Sep 27 '23 15:09 zkochan

@zkochan

I am sorry. I have merged master to v2 now.

Many thanks for correcting this! 👍🏻

@privatenumber

Would you like to check? It looks like this issue can be closed now.

MikeMcC399 avatar Sep 27 '23 16:09 MikeMcC399

Still the case for both v3 and v4. The missing tags makes that e.g. Renovate Bot does not from v3 to v4.

I can help if possible.

DEBUG: github/tags.findCommitOfTag: Tag v3 not found for pnpm/action-setup
DEBUG: Could not determine new digest for update.
{
  "packageName": "pnpm/action-setup"
  "currentValue": "v3"
  "datasource": "github-tags"
  "newValue": "v3"
}

MindTooth avatar May 13 '24 20:05 MindTooth

FYI

Official recommendations on versioning:

  • https://docs.github.com/en/actions/creating-actions/about-custom-actions#using-tags-for-release-management
  • https://github.com/actions/toolkit/blob/master/docs/action-versioning.md

konomae avatar Jul 24 '24 11:07 konomae