...
Code Block |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<servers>
<server>
<id>apache.snapshots.https</id>
<username>USERNAME</username>
<password>PASSWORD</password>
</server>
<server>
<id>apache.releases.https</id>
<username>USERNAME</username>
<password>PASSWORD</password>
</server>
</servers>
</settings> |
Update Change Log
- Cleanup JIRA so the Fix Version in issues resolved since the last release includes this release version correctly.
- Update the CHANGELOG based on the Text release reports from JIRA.
- Review and update README.md if needed.
- Commit any changes back to git
- Stage any Roadmap or Release landing pages on the site.
Create release branch
Code Block |
---|
|
git checkout master
git pull
git checkout -b griffin-x.x.x-incubating-rcX
|
Check license
Code Block |
---|
|
mvn -Papache-release clean apache-rat:check -e -DskipTests |
Dry run release
Code Block |
---|
|
mvn -Papache-release release:prepare -DautoVersionSubmodules=true -DdryRun=true |
Verify
compare pom.xml with pom.xml.tag files, the only differences should be version number.
check release.properties to make sure scm has right versions.
verify signatures.
Cleanup for release
Code Block |
---|
|
mvn -Papache-release release:clean |
Prepare for release
Code Block |
---|
|
mvn -Papache-release -U clean release:prepare -DautoVersionSubmodules=true |
Perform the release
Code Block |
---|
|
mvn -Papache-release -Darguments='-Dmaven.test.skip.exec=true' release:perform -Dgoals=deploy -DlocalRepoDirectory=. -DlocalCheckout=true -Dusername=[your_apache_id] |
Verify nexus release artifacts
- Verify the staged artifacts in the nexus repo
- Close the nexus staging repo
- https://repository.apache.org/index.html
- Staging repositories (under Build Promotion) --> Name column --> org.apache.griffin
- Click checkbox for the open staging repo (org.apache.streams-XXX) and press Close in the menu bar.
Vote