Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Prepare v1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrafter committed Mar 12, 2020
1 parent 43673d6 commit e3a4794
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions script/rerelease
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Checkout the release branch
git checkout releases/beta
git checkout releases/v1
# Get this branch even with master so the latest changes are included
git reset --hard master
# Rerun the checks and rebuild the TypeScript and ncc distribution
npm run build
# Add the dist
git add .
# Commit
git commit -m "beta"
git commit -m "v1"
# Force push to overwrite any previous commits for this branch
git push -f origin releases/beta
# Remove previously pushed tags (beta will be unusable momentarily until you re-push)
git push origin :refs/tags/beta
git push -f origin releases/v1
# Remove previously pushed tags (v1 will be unusable momentarily until you re-push)
git push origin :refs/tags/v1
# Re-apply the tag
git tag -fa beta -m "beta"
git tag -fa v1 -m "v1"
# Push everything
git push origin beta
git push origin v1
# Checkout master again
git checkout master

0 comments on commit e3a4794

Please sign in to comment.