Skip to content

Commit

Permalink
feat(packages/sui-test-contract): add missing env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jordevo committed Jan 2, 2024
1 parent eaf89c6 commit 4a6e485
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ program
const {brokerUrl} = program.opts()
if (!brokerUrl) throw new Error('You need to specify the broker URL where the contracts will be published.')
const contractsDir = path.resolve(process.cwd(), 'contract/documents')
const {GHA_REF, GITHUB_REF, GITHUB_SHA, TRAVIS_PULL_REQUEST_BRANCH, TRAVIS_BRANCH, TRAVIS_COMMIT, TRAVIS_PULL_REQUEST_SHA} =
const {GHA_REF, GITHUB_REF, GHA_SHA, GITHUB_SHA, TRAVIS_PULL_REQUEST_BRANCH, TRAVIS_BRANCH, TRAVIS_COMMIT, TRAVIS_PULL_REQUEST_SHA} =

Check failure on line 21 in packages/sui-test-contract/bin/sui-test-contract-publish.js

View workflow job for this annotation

GitHub Actions / build

Replace `GHA_REF,·GITHUB_REF,·GHA_SHA,·GITHUB_SHA,·TRAVIS_PULL_REQUEST_BRANCH,·TRAVIS_BRANCH,·TRAVIS_COMMIT,·TRAVIS_PULL_REQUEST_SHA}·=⏎·` with `⏎··GHA_REF,⏎··GITHUB_REF,⏎··GHA_SHA,⏎··GITHUB_SHA,⏎··TRAVIS_PULL_REQUEST_BRANCH,⏎··TRAVIS_BRANCH,⏎··TRAVIS_COMMIT,⏎··TRAVIS_PULL_REQUEST_SHA⏎}·=`
process.env

const branch = TRAVIS_PULL_REQUEST_BRANCH || TRAVIS_BRANCH || GHA_REF || GITHUB_REF || exec('git rev-parse --abbrev-ref HEAD')

Check failure on line 24 in packages/sui-test-contract/bin/sui-test-contract-publish.js

View workflow job for this annotation

GitHub Actions / build

Insert `⏎·`
Expand Down

0 comments on commit 4a6e485

Please sign in to comment.