Skip to content

Releasing requires some changes #9

Closed
@Capstan

Description

@Capstan

The update to Gradle 5.6.1 removed the --recompile-scripts flag (gradle/gradle#1425), so doRelease.sh needs to remove it. Not sure what, if anything, it should be replaced with.

GPG 2.1 does not produce a secring.gpg by default, or use the short key ids. https://stackoverflow.com/a/39573795 has some suggestions:

  • gpg --export-secret-keys -o ~/.gnupg/secring.gpg will export it in the old format (chmod it to be narrowly readable). It appears to work, though I wonder if it could be adapted to use the existing key in ~/.gnupg/private-keys-v1.d/.
  • gpg --list-keys --keyid-format short will show the key id in the format that it will be understandable.

At the moment, I don't have permissions on Sonatype, getting errors of the form:

Could not transfer artifact com.github.java-json-tools:jackson-coreutils:jar:1.10 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/github/java-json-tools/jackson-coreutils/1.10/jackson-coreutils-1.10.jar, ReasonPhrase: Forbidden.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions