Don't automatically push docs in release since not allowed by branch … (#2178)
* Don't automatically push docs in release since not allowed by branch protection. * Fix readme
This commit is contained in:
parent
d7ab0addfa
commit
c2861b4dd6
|
@ -20,13 +20,7 @@ jobs:
|
|||
with:
|
||||
job-id: jdk11
|
||||
remote-build-cache-proxy-enabled: false
|
||||
arguments: updateVersionInDocs build --stacktrace -Prelease.version=${{ github.event.inputs.version }}
|
||||
- name: Setup git name
|
||||
run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
- name: Commit README updates
|
||||
run: git commit -am "Releasing ${{ github.event.inputs.version }}"
|
||||
arguments: build --stacktrace -Prelease.version=${{ github.event.inputs.version }}
|
||||
- name: Publish artifacts
|
||||
run: ./gradlew final --stacktrace -Prelease.version=${{ github.event.inputs.version }}
|
||||
env:
|
||||
|
@ -34,5 +28,3 @@ jobs:
|
|||
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
|
||||
GRGIT_USER: ${{ github.actor }}
|
||||
GRGIT_PASS: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Push README updates
|
||||
run: git push
|
||||
|
|
12
RELEASING.md
12
RELEASING.md
|
@ -28,12 +28,16 @@ for a list of major changes since last release.
|
|||
|
||||
## Update release versions in documentations and CHANGELOG files
|
||||
|
||||
After releasing is done, you need to update
|
||||
After releasing is done, you need to first update the docs.
|
||||
|
||||
```
|
||||
./gradlew updateVersionInDocs -Prelease.version=x.y.z
|
||||
```
|
||||
|
||||
Next, update the
|
||||
[CHANGELOG.md](https://github.com/open-telemetry/opentelemetry-java/blob/master/CHANGELOG.md).
|
||||
|
||||
Create a PR to mark the new release in
|
||||
[CHANGELOG.md](https://github.com/census-instrumentation/opencensus-java/blob/master/CHANGELOG.md)
|
||||
on master branch.
|
||||
Create a PR to mark the new release in README.md and CHANGELOG.md on the master branch.
|
||||
|
||||
## Patch Release
|
||||
|
||||
|
|
Loading…
Reference in New Issue