This repository has been archived by the owner on May 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43673d6
commit e3a4794
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |