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

All git tags missing #49

Open
glensc opened this issue Mar 21, 2022 · 7 comments
Open

All git tags missing #49

glensc opened this issue Mar 21, 2022 · 7 comments

Comments

@glensc
Copy link
Contributor

glensc commented Mar 21, 2022

Seems this repo lacks all git tags for npm releases!

@glensc
Copy link
Contributor Author

glensc commented Mar 21, 2022

I'm sure there;'s tons of ways to automate npm publishing, if needed I can port my own version to this repo, which is just plain GitHub Actions (no extra plugin):

@orta
Copy link
Owner

orta commented Mar 22, 2022

For small projects like this I don't bother with all of that extra work, I have too many small repos to make it worth my time.

@glensc
Copy link
Contributor Author

glensc commented Mar 22, 2022

Extra work of what? publishing npm release manually seems extra work to me.

The repo I linked, after initial setup making a release is pushing a git tag.

@glensc
Copy link
Contributor Author

glensc commented Mar 22, 2022

And I do like transparency, like what did you do for 1.4.1 release, why it has changes missing?

See:

@glensc
Copy link
Contributor Author

glensc commented Mar 22, 2022

Finished this comment:

With this PR (read the body of it how to finish the setup):

@orta
Copy link
Owner

orta commented Mar 22, 2022

It's a cool idea but this is just one repo of many, it'd be an edge case where it's the only one which deploys this way

@glensc
Copy link
Contributor Author

glensc commented Mar 22, 2022

Loosely created tags from commit messages. not all tags were created as there aren't even commits for some releases (delivering spyware probably :D)

danger-plugin-yarn ☸ test(gha-publishing) ➜ g tag -d `g tags`
Deleted tag '0.1.1' (was 336e033)
Deleted tag '0.2.0' (was bb6774d)
Deleted tag '0.2.1' (was e998708)
Deleted tag '0.2.2' (was 32240f9)
Deleted tag '0.2.3' (was 3c7d6d7)
Deleted tag '0.2.4' (was 44f4e07)
Deleted tag '0.2.5' (was 8fe1654)
Deleted tag '0.2.10' (was f8ac336)
Deleted tag '0.3.0' (was ee1cba4)
Deleted tag '0.3.1' (was d260abe)
Deleted tag '0.3.2' (was 524dcf2)
Deleted tag '1.0.0' (was 62434dc)
Deleted tag '1.1.0' (was 1af1b43)
Deleted tag '1.1.1' (was 0e383d5)
Deleted tag '1.1.2' (was 1d9e73a)
Deleted tag '1.2.0' (was 0ae68dc)
Deleted tag '1.2.1' (was dbe1ea7)
Deleted tag '1.3.0' (was e3546d9)
Deleted tag '1.3.1' (was 9c0d0e3)
Deleted tag '1.3.3' (was 0262c41)
Deleted tag '1.4.0' (was 5141f98)

I believe you can grab the tags like this and then push to your remote:

$ git fetch https://github.com/glensc/danger-plugin-yarn.git +refs/tags/*:+refs/remotes/origin/tags/*
$ git push --tags -n
$ git push --tags

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 a pull request may close this issue.

2 participants