-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
211e0cb
commit 3e99683
Showing
12 changed files
with
135 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,18 @@ When cutting a release, follow this checklist: | |
3. Create a GitHub release and use the new version as the tag name (not that it must be in X.Y.Z format to please SPM). | ||
4. Sit back and watch. GitHub actions take care of the rest. | ||
Note that iOS CI ends up adding a commit due to the way binary checksumming works. | ||
|
||
## GPG | ||
|
||
Maven Central requires all packages to be signed. | ||
This necessarily means the headache of key management. | ||
Fortunately keys don't need to be regenerated very often, | ||
but here are some notes for whenever it's required again. | ||
|
||
Sonatype has good [docs](https://central.sonatype.org/publish/requirements/gpg/) on generating a key. | ||
To export the private key for use in CI, | ||
you can run the following command. | ||
|
||
```shell | ||
gpg --armor --export-secret-key [email protected] | grep -v '\-\-' | grep -v '^=.' | tr -d '\n' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
ext { | ||
// Add an optional parameter includeGoogleRepo with a default value of false | ||
commonPomConfig = { pom, includeGoogleRepo = false -> | ||
pom.url = "https://github.com/stadiamaps/ferrostar" | ||
pom.inceptionYear = "2023" | ||
pom.licenses { | ||
license { | ||
name = "BSD-3-Clause" | ||
url = "https://spdx.org/licenses/BSD-3-Clause.html" | ||
} | ||
} | ||
pom.developers { | ||
developer { | ||
name = "Ian Wagner" | ||
organization = "Stadia Maps" | ||
organizationUrl = "https://stadiamaps.com/" | ||
} | ||
developer { | ||
name = "Jacob Fielding" | ||
organization = "Rallista" | ||
organizationUrl = "https://rallista.app/" | ||
} | ||
} | ||
pom.scm { | ||
connection = "scm:git:https://github.com/stadiamaps/ferrostar.git" | ||
developerConnection = "scm:git:ssh://github.com/stadiamaps/ferrostar.git" | ||
url = "http://github.com/stadiamaps/ferrostar" | ||
} | ||
|
||
// Conditional inclusion of the Google repository | ||
if (includeGoogleRepo) { | ||
pom.withXml { | ||
def repo = asNode().appendNode('repositories').appendNode('repository') | ||
repo.appendNode('name', 'Google') | ||
repo.appendNode('id', 'google') | ||
repo.appendNode('url', 'https://maven.google.com/') | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.