-
Notifications
You must be signed in to change notification settings - Fork 442
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
No releases for v1.9.17 or v1.9.18 tags #1555
Comments
Looks like those job logs need to be a gist in the future. |
What can be done to get the last version of sbt-native-packager for the last version of sbt? Should I add a dependency on the Github repo? |
@muuki88 do you mind if I tag a new release? |
@dwickern please do ❤️❤️ |
@muuki88 I'm trying to figure out the release workflow. It looks like we make a release by pushing a tag like |
The issue seems to be that the release doesn't work anymore
|
I started working on upgrading all dependencies and got stuck by sbt/sbt-ghpages#132 @dwickern you should now have permissions to push tags |
I think #1566 will unblock the release |
@muuki88 Please look at I think it fixes the problems you experience. |
Sorry, I was wrong... I thought this issue is about pushing the missing tags, but I see that the tags are here but the releases are not: Sorry! |
I have removed tags before and re-added them to force a new publish. |
@ekrich There still doesn't seem to be any version published after 1.9.16 |
I didn't mean on this repo. I just meant that the tags can be removed and tagged again if that helps for publishing the versions that didn't "really" get published. |
I hope after merging #1566 (which upgrades sbt-ci-release to the latest version) new releases will go through... |
I'll check the permissions 🫠 |
@dwickern you have maintain writes and should work. There are not tag protection rules |
I just pushed |
not entirely as planned 😢 |
@muuki88 Did you change the secrets in https://github.com/sbt/sbt-native-packager/settings/secrets/actions? |
Looks like they are availabe but not correctly encoded?
|
See https://github.com/sbt/sbt-ci-release?tab=readme-ov-file#secrets and further
Did you add your own pgp key or did Eugene add one? |
@mkurz this one I created for sbt-native-packager only. I'll check it |
Hmm yeah I just checked, yours was used for the 1.9.16 release: $ wget https://repo1.maven.org/maven2/com/github/sbt/sbt-native-packager_2.12_1.0/1.9.16/sbt-native-packager-1.9.16.jar.asc
...
$ wget https://repo1.maven.org/maven2/com/github/sbt/sbt-native-packager_2.12_1.0/1.9.16/sbt-native-packager-1.9.16.jar
...
$ gpg --verify sbt-native-packager-1.9.16.jar.asc sbt-native-packager-1.9.16.jar
gpg: Signature made Mo 20 Feb 2023 18:51:13 CET
gpg: using RSA key 804B121465E4D6F46817FFB56B36C28F8F2C3E51
gpg: Can't check signature: No public key
$ gpg --keyserver pgp.mit.edu --recv-key 804B121465E4D6F46817FFB56B36C28F8F2C3E51
gpg: key 6B36C28F8F2C3E51: public key "sbt-native-packager ci release bot <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1 |
This is where it's failing, the |
@muuki88 Maybe also first try to clean the caches? |
There had to be some change in the environment after the 1.9.16 release, because 1.9.17 started to fail: |
@muuki88 I am pretty sure you just have to update the There was an issue: sbt/sbt-ci-release#226 |
@muuki88 It seems the $ echo "%" | base64 --decode
base64: invalid input |
I created anew pgp key and updated the key according to the instructions (thanks for the hint with zsh, I like triple checked this ), but the error remains.
this does also work.
The last PGP key expired last year. Probably this is the reason why things started to fail. |
Can you try to use
? |
Running all the commands from the sbt ci plugin works locally for me. This is weird.
Yeah... it just did that as well (but without the cool |
Are you on Windows, macOS, Linux? |
Linux |
It's working now!!! https://github.com/sbt/sbt-native-packager/actions/runs/8660949696/job/23749860386 |
Basically yes 👍 However with this helper 😅 https://plugins.jetbrains.com/plugin/2162-string-manipulation |
Next problem:
You need to submit your key, see screenshot: |
Sorry do this: gpg --keyserver hkp://keyserver.ubuntu.com --send-key 21E544EF6876D582ED5498E9745A8C6ED65E9E2D && \
gpg --keyserver hkp://pgp.mit.edu --send-key 21E544EF6876D582ED5498E9745A8C6ED65E9E2D && \
gpg --keyserver hkp://pool.sks-keyservers.net --send-key 21E544EF6876D582ED5498E9745A8C6ED65E9E2D |
You are too good to me 😂 Thanks a lot. I'll be out now .
|
Alright, here we go. 1.10.0 got published (first release since 14 months!)
So... why 1.10.0 and not 1.10.3... That is because sbt-ci-release is using sbt-dynver to detect the latest tag, but if multiple tags point to the same commit then sbt-dynver has a hard time to figure out the correct order. This is a known issue:
Anyway, for us here it does not matter, it's even nicer to have a nice version number now 😉 @dwickern @muuki88 You probably want to publish a GitHub release: https://github.com/sbt/sbt-native-packager/releases |
@dwickern @muuki88 After you published the GitHub release, you can close this issue. Also the publish process failed to push the github pages: https://github.com/sbt/sbt-native-packager/actions/runs/8661198045/job/23750625200 I opened for that |
I set v1.10.0 as the latest release. Thanks everyone for helping to make this happen! 🎉
In theory, the GH action knows which tag triggered it, so we could pass it as an argument or environment variable to sbt. But it's not a big deal either way. |
Tags have been created for v1.9.17 and v1.9.18 but no releases have been created, in either the GitHub releases (https://github.com/sbt/sbt-native-packager/releases) or published to the maven repos (https://central.sonatype.com/artifact/com.github.sbt/sbt-native-packager)
It looks like the github actions failed due to a gpg issue with sbt-ci-release:
v1.9.17: https://github.com/sbt/sbt-native-packager/actions/runs/5641807357/job/15280486680
v1.9.18: https://github.com/sbt/sbt-native-packager/actions/runs/5642779942/job/15283307724
The text was updated successfully, but these errors were encountered: