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
fd812a2f
Commit
fd812a2f
authored
Nov 11, 2020
by
Francisco Giordano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transpile
40f4245d
parent
835561b0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
transpile.yml
.github/workflows/transpile.yml
+1
-1
prepare-contracts-package.sh
scripts/prepare-contracts-package.sh
+2
-0
transpile-onto.sh
scripts/upgrade-safe/transpile-onto.sh
+1
-1
No files found.
.github/workflows/transpile.yml
View file @
fd812a2f
...
@@ -29,5 +29,5 @@ jobs:
...
@@ -29,5 +29,5 @@ jobs:
-
run
:
npm ci
-
run
:
npm ci
if
:
steps.cache.outputs.cache-hit != 'true'
if
:
steps.cache.outputs.cache-hit != 'true'
-
run
:
bash scripts/upgrade-safe/git-user-config.sh
-
run
:
bash scripts/upgrade-safe/git-user-config.sh
-
run
:
bash scripts/upgrade-safe/traspile-onto.sh master origin/master
-
run
:
bash scripts/upgrade-safe/tra
n
spile-onto.sh master origin/master
-
run
:
git push origin master
-
run
:
git push origin master
scripts/prepare-contracts-package.sh
View file @
fd812a2f
...
@@ -5,7 +5,9 @@ cd "$(git rev-parse --show-toplevel)"
...
@@ -5,7 +5,9 @@ cd "$(git rev-parse --show-toplevel)"
# avoids re-compilation during publishing of both packages
# avoids re-compilation during publishing of both packages
if
[[
!
-v
ALREADY_COMPILED
]]
;
then
if
[[
!
-v
ALREADY_COMPILED
]]
;
then
npm run prepublish
npm run prepare
npm run prepare
npm run prepack
fi
fi
cp README.md contracts/
cp README.md contracts/
...
...
scripts/upgrade-safe/transpile-onto.sh
View file @
fd812a2f
...
@@ -25,10 +25,10 @@ if git rev-parse --quiet --verify "$target"; then
...
@@ -25,10 +25,10 @@ if git rev-parse --quiet --verify "$target"; then
git reset
--soft
"
$target
"
git reset
--soft
"
$target
"
git checkout
"
$target
"
git checkout
"
$target
"
else
else
git checkout
--orphan
"
$target
"
if
[
-n
"
$base
"
]
;
then
if
[
-n
"
$base
"
]
;
then
git reset
--soft
"
$base
"
git reset
--soft
"
$base
"
fi
fi
git checkout
--orphan
"
$target
"
fi
fi
if
!
git diff
--quiet
--cached
;
then
if
!
git diff
--quiet
--cached
;
then
...
...
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