Skip to content

only sign when releasing, to avoid gpg errors#4

Merged
lukecwik merged 2 commits intolukecwik:gradlefrom
alanmyrvold:beam-gradle
Apr 5, 2018
Merged

only sign when releasing, to avoid gpg errors#4
lukecwik merged 2 commits intolukecwik:gradlefrom
alanmyrvold:beam-gradle

Conversation

@alanmyrvold
Copy link
Copy Markdown

On a machine without gpg private keys, I get errors when publishing


Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand:
    • What the pull request does
    • Why it does it
    • How it does it
    • Why this approach
  • Each commit in the pull request should have a meaningful subject line and body.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

Comment thread build_rules.gradle Outdated
}
}

uploadArchives {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can move this entire block into the isRelease above, then it won't even activate unless signing is needed.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread build_rules.gradle
destination = file("$buildDir/generated-pom.xml")
}
tasks.publishMavenJavaPublicationToMavenLocal {
dependsOn project.tasks.signArchives
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto on creating a new model { ... } block in isRelease() that contains these task dependencies.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@lukecwik lukecwik merged commit 8bb7d62 into lukecwik:gradle Apr 5, 2018
lukecwik pushed a commit that referenced this pull request Jul 16, 2019
lukecwik pushed a commit that referenced this pull request Feb 27, 2020
lukecwik pushed a commit that referenced this pull request Apr 9, 2020
Ensure that we transcode between the (transformId, timerFamilyId) into the TimerData.timerId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants