Commit fd812a2f by Francisco Giordano

Transpile 40f4245d

parent 835561b0
...@@ -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/transpile-onto.sh master origin/master
- run: git push origin master - run: git push origin master
...@@ -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/
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment