Please make sure your public key was included in the https://downloads.apache.org/incubator/devlake/KEYS , if not, please update this file first.
Clone the svn repository
svn co https://dist.apache.org/repos/dist/dev/incubator/devlake
Append your public key to the KEYS file cd devlake
gpg --list-sigs <your name>
gpg --armor --export <your name> >> KEYS
Upload
svn add KEYS svn commit -m "update KEYS" svn cp https://dist.apache.org/repos/dist/dev/incubator/devlake/KEYS https://dist.apache.org/repos/dist/release/incubator/devlake/ -m "update KEYS"
We will use v0.16.0
as an example to demonstrate the release process.
gpg
creating and verifying the signatureshasum
creating and verifying the checksumgit
checkout and pack the codebasesvn
uploading the code to the Apache code hosting serverreleases/lake-v0.16.0
and put the two files docker-compose.yml
and env.example
in there..github/ISSUE_TEMPLATE/bug-report.yml
to include the version v0.16.0
git clone https://github.com/apache/incubator-devlake.git cd incubator-devlake git checkout b268d53a48edb26d3c9b73b782798703f068f655
Tag the commit and push to origin
git tag v0.16.0-rc2 git push origin v0.16.0-rc2
Pack the code
git archive --format=tar.gz --output="<the-output-dir>/apache-devlake-0.16.0-incubating-src.tar.gz" --prefix="apache-devlake-0.16.0-incubating-src/" v0.16.0-rc2
Before proceeding to the next step, please make sure your public key was included in the https://downloads.apache.org/incubator/devlake/KEYS
Create signature and checksum
cd <the-output-dir> gpg -s --armor --output apache-devlake-0.16.0-incubating-src.tar.gz.asc --detach-sig apache-devlake-0.16.0-incubating-src.tar.gz shasum -a 512 apache-devlake-0.16.0-incubating-src.tar.gz > apache-devlake-0.16.0-incubating-src.tar.gz.sha512
Verify signature and checksum
gpg --verify apache-devlake-0.16.0-incubating-src.tar.gz.asc apache-devlake-0.16.0-incubating-src.tar.gz shasum -a 512 --check apache-devlake-0.16.0-incubating-src.tar.gz.sha512
svn co https://dist.apache.org/repos/dist/dev/incubator/devlake
cd devlake mkdir -p 0.16.0-incubating-rc2 cp <the-output-dir>/apache-devlake-0.16.0-incubating-src.tar.gz* 0.16.0-incubating-rc2/
svn add 0.16.0-incubating-rc2 svn commit -m "add 0.16.0-incubating-rc2"
You can check Incubator Release Checklist before voting.
Devlake community vote:
Apache incubator community vote:
svn mv https://dist.apache.org/repos/dist/dev/incubator/devlake/0.16.0-incubating-rc2 https://dist.apache.org/repos/dist/release/incubator/devlake/0.16.0-incubating -m "transfer packages for 0.16.0-incubating-rc2"
https://downloads.apache.org/incubator/devlake/0.16.0-incubating/
was createdhttps://downloads.apache.org/
(according the Apache release policy, this link should be pointing to the current release)svn rm https://dist.apache.org/repos/dist/release/incubator/devlake/0.15.0-incubating -m "remove 0.15.0-incubating"
git checkout v0.16.0-rc2 git tag v0.16.0 git push origin v0.16.0
https://github.com/apache/incubator-devlake/releases/
, draft a new release, fill in the form and upload two files docker-compose.yml
and env.example