File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,13 @@ jobs:
9898 --contract "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \
9999 --network "${{ vars.NEAR_CONTRACT_STAGING_NETWORK }}")
100100
101- if [[ -n "$CONTRACT_EXISTS" ]]; then
101+ if [[ -z "$CONTRACT_EXISTS" ]]; then
102102 echo "Contract already exists on staging account, removing old market versions"
103- # ./script/ci/remove-all-versions-from-registry.sh \
104- # --account "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \
105- # --registry "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \
106- # --network "${{ vars.NEAR_CONTRACT_STAGING_NETWORK }}" \
107- # --private-key "${{ secrets.NEAR_CONTRACT_STAGING_ACCOUNT_PRIVATE_KEY }}"
103+ ./script/ci/remove-all-versions-from-registry.sh \
104+ --account "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \
105+ --registry "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \
106+ --network "${{ vars.NEAR_CONTRACT_STAGING_NETWORK }}" \
107+ --private-key "${{ secrets.NEAR_CONTRACT_STAGING_ACCOUNT_PRIVATE_KEY }}"
108108 else
109109 echo "NEWLY_CREATED=1" >> $GITHUB_ENV
110110 fi
You can’t perform that action at this time.
0 commit comments