mdedetrich commented on issue #339:
URL: 
https://github.com/apache/incubator-pekko/issues/339#issuecomment-1561848206

   > This is getting complicated. We need to block the release and get a 
release doc written, agreed on and voted on.
   
   I am not entirely sure whats complicated about it. Its actually far simpler 
and can be done right now without any additional changes to Pekko. You just 
need to simply document this
   
   # Release Process
   
   ... etc etc
   In order to create an Apache Source distribution, please run the following 
command
   
   ```sh
   sbt "set ThisBuild / version := \"<VERSION>\"; sourceDistGenerate"
   ```
   
   where `<VERSION>` is the version you want to make a release for, i.e. for 
`1.0.0`
   
   ```sh
   sbt "set ThisBuild / version := \"1.0.0\"; sourceDistGenerate"
   ```
   
   Likewise in order to publish a signed artifact to maven run the following
   
   ```sh
   sbt "set ThisBuild / version := \"<VERSION>\"; +publishSigned"
   ```
   
   ... etc etc
   
   And thats it. This will work regardless if its a git repo or just raw 
sources. I just tried it on my local machine and it works as expected
   
   ```
   sbt "set ThisBuild / version := \"1.0.0\"; sourceDistGenerate"
   [info] welcome to sbt 1.9.0-RC1 (Homebrew Java 11.0.19)
   [info] loading global plugins from /Users/mdedetrich/.sbt/1.0/plugins
   [info] loading project definition from 
/Users/mdedetrich/github/incubator-pekko/project/project
   [info] loading settings for project incubator-pekko-build from plugins.sbt 
...
   [info] loading project definition from 
/Users/mdedetrich/github/incubator-pekko/project
   [info] loading settings for project pekko from build.sbt ...
   [info] resolving key references (63038 settings) ...
   [info] 
   [info] ________     ______ ______        
   [info] ___  __ \_______  /____  /_______ 
   [info] __  /_/ /  _ \_  //_/_  //_/  __ \
   [info] _  ____//  __/  ,<  _  ,<  / /_/ /
   [info] /_/     \___//_/|_| /_/|_| \____/   0.0.0+26670-7418680c-SNAPSHOT
   [info] 
   [info] Useful sbt tasks:
   [info] >  compile - Compile the current project
   [info] >  test - Run all the tests 
   [info] >  testOnly *.AnySpec - Only run a selected test
   [info] >  publishLocal - Publish current snapshot version to local ~/.ivy2 
repo
   [info] >  verifyCodeStyle - Verify code style
   [info] >  applyCodeStyle - Apply code style
   [info] >  sortImports - Sort the imports
   [info] >  mimaReportBinaryIssues  - Check binary issues
   [info] >  validatePullRequest  - Validate pull request
   [info] >  docs/paradox - Build documentation
   [info] >  docs/paradoxBrowse - Browse the generated documentation
   [info] >  tips: - prefix commands with `+` to run against cross Scala 
versions.
   [info] >  Contributing guide: - 
https://github.com/apache/incubator-pekko/blob/main/CONTRIBUTING.md
   [info] Defining ThisBuild / version
   [info] The new value will be used by Compile / doc / scalacOptions, Compile 
/ packageBin / packageOptions and 969 others.
   [info]  Run `last` for details.
   [info] Reapplying settings...
   [info] 
   [info] ________     ______ ______        
   [info] ___  __ \_______  /____  /_______ 
   [info] __  /_/ /  _ \_  //_/_  //_/  __ \
   [info] _  ____//  __/  ,<  _  ,<  / /_/ /
   [info] /_/     \___//_/|_| /_/|_| \____/   1.0.0
   [info] 
   [info] Useful sbt tasks:
   [info] >  compile - Compile the current project
   [info] >  test - Run all the tests 
   [info] >  testOnly *.AnySpec - Only run a selected test
   [info] >  publishLocal - Publish current snapshot version to local ~/.ivy2 
repo
   [info] >  verifyCodeStyle - Verify code style
   [info] >  applyCodeStyle - Apply code style
   [info] >  sortImports - Sort the imports
   [info] >  mimaReportBinaryIssues  - Check binary issues
   [info] >  validatePullRequest  - Validate pull request
   [info] >  docs/paradox - Build documentation
   [info] >  docs/paradoxBrowse - Browse the generated documentation
   [info] >  tips: - prefix commands with `+` to run against cross Scala 
versions.
   [info] >  Contributing guide: - 
https://github.com/apache/incubator-pekko/blob/main/CONTRIBUTING.md
   [info] Creating zip archive at 
/Users/mdedetrich/github/incubator-pekko/target/dist/incubating-pekko-src-1.0.0-20230524.zip
   [info] Creating tar archive at 
/Users/mdedetrich/github/incubator-pekko/target/dist/incubating-pekko-src-1.0.0-20230524.tgz
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to