These notes are for Rob ... right now nobody else can publish.
To publish a snapshot build all that is needed is:
> +publish
This is more involved :-\
- Create a staging branch from the series tip:
git checkout -b 0.2.4-staging
-
Edit
README.md
,CHANGELOG.md
, and01-Introduction.md
to ensure that the versions, etc. are correct, notable changes are listed, and contributors are credited. Commit these changes. -
Stage the tut doc in
tpolecat.github.io
:
> tut
...
> ctut
-
Remove the
-SNAPSHOT
suffix from the tut doc root and then update_config.yml
. Remove the warning block from the00-index.md
. -
Update the version in
projects.html
. -
Commit and push the doc. Ensure that links from
projects.html
work, and that it looks generally ok. Note that source links won't work from the scaladoc until the tag is created. -
Commit and push the staging branch and ensure that doc links work and go to the correct versions. The
CHANGELOG
link will be wrong. -
Attempt to release.
> release cross
- If all goes well, which is unlikely, it will ask for PGP keys. These are in a secure note in your keychain called "Sonatype/SBT PGP Keys". Eventually the build will crap out after pushing the branch. Finish up with:
> sonatypeReleaseAll
-
Push the release branch, open a PR and merge.
-
Have a cocktail.