release procedure: make commands cut and paste-able as a whole

pull/828/head
Brad House 4 months ago
parent 2cc44777b3
commit 0df626b829
  1. 14
      RELEASE-PROCEDURE.md

@ -18,10 +18,10 @@ in the source code repo
branch like: branch like:
``` ```
BRANCH=1.32 BRANCH=1.32
git pull git pull && \
git checkout main git checkout main && \
git checkout -b v${BRANCH} main git checkout -b v${BRANCH} main && \
git commit --allow-empty -m "Created release branch v${BRANCH}" git commit --allow-empty -m "Created release branch v${BRANCH}" && \
git push -u origin v${BRANCH} git push -u origin v${BRANCH}
``` ```
- make sure all relevant changes are committed on the release branch - make sure all relevant changes are committed on the release branch
@ -31,9 +31,9 @@ git push -u origin v${BRANCH}
``` ```
BRANCH=1.32 BRANCH=1.32
RELEASE=1.32.0 RELEASE=1.32.0
git checkout v${BRANCH} git checkout v${BRANCH} && \
git pull git pull && \
git tag -s v${RELEASE} -m 'c-ares release v${RELEASE}' v${BRANCH} git tag -s v${RELEASE} -m 'c-ares release v${RELEASE}' v${BRANCH} && \
git push origin --tags git push origin --tags
``` ```
- Create the release tarball using `make dist`, it is best to check out the - Create the release tarball using `make dist`, it is best to check out the

Loading…
Cancel
Save