Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
e4d2830f
Commit
e4d2830f
authored
Feb 14, 2020
by
Nicolás Venturo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update release script for major releases
parent
19417c7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
release.sh
scripts/release/release.sh
+16
-0
No files found.
scripts/release/release.sh
View file @
e4d2830f
...
@@ -100,6 +100,22 @@ elif [[ "$*" == "start minor" ]]; then
...
@@ -100,6 +100,22 @@ elif [[ "$*" == "start minor" ]]; then
push_and_publish next
push_and_publish next
elif
[[
"
$*
"
==
"start major"
]]
;
then
log
"Creating new major pre-release"
assert_current_branch master
# Create temporary release branch
git checkout
-b
release-temp
# This bumps major and adds prerelease suffix, commits the changes, and tags the commit
npm version premajor
--preid
=
"
$PRERELEASE_SUFFIX
"
# Rename the release branch
git branch
--move
"
$(
current_release_branch
)
"
push_and_publish next
elif
[[
"
$*
"
==
"rc"
]]
;
then
elif
[[
"
$*
"
==
"rc"
]]
;
then
log
"Bumping pre-release"
log
"Bumping pre-release"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment