Skip to content

Commit

Permalink
Fix tag-built release process
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Mar 24, 2020
1 parent 3f6e89e commit 0ad6b92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/tag-built.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mkdir built
git clone . built/
cd built
git checkout $tag
git rm -r $(git ls-files)
git rm -r $(git ls-files | sed 's:/.*::' | sort | uniq)
rsync -avz ../build/ ./
git add -A .
git commit -m "Build $tag" --no-verify
Expand Down
4 changes: 2 additions & 2 deletions contributing/engineering.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ This will create an `amp.zip` in the plugin directory which you can install. The
1. Make sure “Pre-release” is checked.
1. Publish GitHub release.
1. Create built release tag (from the just-created `build` directory):
1. do `git fetch --tags && ./bin/tag-built.sh`
1. Do `git fetch origin --tags && ./bin/tag-built.sh`
1. Add link from release notes.
1. Make announcements on Twitter and the #amp-wp channel on AMP Slack, linking to release post or GitHub release.
1. Bump version in release branch, e.g. `…-alpha` to `…-beta1` and `…-beta2` to `…-RC1`
Expand Down Expand Up @@ -334,7 +334,7 @@ Contributors who want to make a new release, follow these steps:
1. Run `npm run deploy` to commit the plugin to WordPress.org.
1. Confirm the release is available on WordPress.org; try installing it on a WordPress install and confirm it works.
1. Create built release tag (from the just-created `build` directory):
1. do `git fetch --tags && ./bin/tag-built.sh`
1. Do `git fetch origin --tags && ./bin/tag-built.sh`
1. Add link from release notes.
1. For new major releases, create a release branch from the tag. Patch versions are made from the release branch.
1. For minor releases, bump `Stable tag` in the `readme.txt`/`readme.md` in `develop`. Cherry-pick other changes as necessary.
Expand Down

0 comments on commit 0ad6b92

Please sign in to comment.