[
https://issues.apache.org/jira/browse/BEAM-3255?focusedWorklogId=93339&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-93339
]
ASF GitHub Bot logged work on BEAM-3255:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Apr/18 18:23
Start Date: 20/Apr/18 18:23
Worklog Time Spent: 10m
Work Description: alanmyrvold commented on a change in pull request #424:
[BEAM-3255] Updating release guide to use Gradle commands
URL: https://github.com/apache/beam-site/pull/424#discussion_r183133095
##########
File path: src/contribute/release-guide.md
##########
@@ -258,22 +264,20 @@ The core of the release process is the build-vote-fix
cycle. Each cycle produces
### Build and stage Java artifacts with Maven
-Set up a few environment variables to simplify Maven commands that follow.
This identifies the release candidate being built. Start with `RC_NUM` equal to
`1` and increment it for each candidate.
+Set up a few environment variables to simplify the commands that follow. These
identify the release candidate being built, and the branch where you will stage
files. Start with `RC_NUM` equal to `1` and increment it for each candidate.
+
+ RC_NUM=1
- RC_NUM="1"
- RC_TAG="v${VERSION}-RC${RC_NUM}"
-Use Maven release plugin to build the release artifacts, as follows:
+Use Gradle release plugin to build the release artifacts, as follows:
- mvn release:prepare \
- -Dresume=false \
- -DreleaseVersion=${VERSION} \
- -Dtag=${RC_TAG} \
- -DupdateWorkingCopyVersions=false
+ ./gradlew release -Prelease.newVersion=${RELEASE_VERSION}-SNAPSHOT \
Review comment:
Is release.newVersion 2.5.0-SNAPSHOT or 2.6.0-SNAPSHOT?
${NEXT_VERSION_IN_BASE_BRANCH}-SNAPSHOT ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 93339)
Time Spent: 4h 40m (was: 4.5h)
> Update release process to use Gradle
> ------------------------------------
>
> Key: BEAM-3255
> URL: https://issues.apache.org/jira/browse/BEAM-3255
> Project: Beam
> Issue Type: Sub-task
> Components: build-system
> Reporter: Luke Cwik
> Assignee: Alan Myrvold
> Priority: Major
> Fix For: Not applicable
>
> Time Spent: 4h 40m
> Remaining Estimate: 0h
>
> This task is about configuring Gradle to generate pom's and artifacts
> required to perform a release and update the nightly release snapshot Jenkins
> jobs found here
> https://github.com/apache/beam/blob/master/.test-infra/jenkins/job_beam_Release_NightlySnapshot.groovy
> We will also require some integration tests to run against the released
> nightly snapshot artifacts to ensure that what was built is valid.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)