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
4771deef
Commit
4771deef
authored
Nov 07, 2020
by
github-actions
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transpile
ca77824d
parent
9b9f26b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
12 deletions
+17
-12
transpile.yml
.github/workflows/transpile.yml
+1
-1
transpile-push.sh
scripts/transpile-push.sh
+16
-0
transpile.sh
scripts/transpile.sh
+0
-11
No files found.
.github/workflows/transpile.yml
View file @
4771deef
...
@@ -20,4 +20,4 @@ jobs:
...
@@ -20,4 +20,4 @@ jobs:
key
:
npm-${{ hashFiles('**/package-lock.json') }}
key
:
npm-${{ hashFiles('**/package-lock.json') }}
restore-keys
:
npm-
restore-keys
:
npm-
-
run
:
npm ci
-
run
:
npm ci
-
run
:
bash scripts/transpile.sh
-
run
:
bash scripts/transpile
-push
.sh
scripts/transpile-push.sh
0 → 100644
View file @
4771deef
#!/usr/bin/env bash
set
-euo
pipefail
-x
bash scripts/transpile.sh
git config user.name
'github-actions'
git config user.email
'41898282+github-actions[bot]@users.noreply.github.com'
COMMIT
=
"
$(
git rev-parse
--short
HEAD
)
"
git add contracts
git checkout
--orphan
master
git reset
--soft
origin/master
git commit
-m
"Transpile
$COMMIT
"
git push origin master
scripts/transpile.sh
View file @
4771deef
...
@@ -5,14 +5,3 @@ set -euo pipefail -x
...
@@ -5,14 +5,3 @@ set -euo pipefail -x
npm run compile
npm run compile
npx @openzeppelin/upgrade-safe-transpiler
-D
npx @openzeppelin/upgrade-safe-transpiler
-D
COMMIT
=
"
$(
git rev-parse
--short
HEAD
)
"
git config user.name
'github-actions'
git config user.email
'41898282+github-actions[bot]@users.noreply.github.com'
git add contracts
git reset
--soft
master
git checkout master
git commit
-m
"Transpile
$COMMIT
"
git push origin master
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