diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6caa1332e..710d78b8f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -32,4 +32,4 @@ jobs: ref: release/arrowsquid - name: Build and Publish - run: ./ops/docker-publish.sh arrowsquid next + run: ./ops/docker-publish.sh arrowsquid latest diff --git a/.github/workflows/npm-tag-arrowsquid.yml b/.github/workflows/npm-tag-arrowsquid.yml deleted file mode 100644 index 65f2a245d..000000000 --- a/.github/workflows/npm-tag-arrowsquid.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: tag ArrowSquid -on: - workflow_dispatch: - -jobs: - test: - name: Tag ArrowSquid npm packages - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Write npm credentials - run: | - echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> .npmrc - echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> .npmrc-publish - npm whoami - env: - NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - - - name: Set tags - run: ops/npm-tag-arrowsquid.sh - - - name: Setup upterm session - uses: lhotari/action-upterm@v1 - with: - ## limits ssh access and adds the ssh public key for the user which triggered the workflow - limit-access-to-actor: true - ## limits ssh access and adds the ssh public keys of the listed GitHub users - limit-access-to-users: eldargab diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0925cb00..6d65133db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,4 +32,4 @@ jobs: run: node common/scripts/install-run-rush.js build - name: Publish npm packages - run: node common/scripts/install-run-rush.js publish --include-all --version-policy npm --target-branch release/arrowsquid --publish --tag next + run: node common/scripts/install-run-rush.js publish --include-all --version-policy npm --target-branch release/arrowsquid --publish --tag latest diff --git a/ops/npm-tag-arrowsquid.sh b/ops/npm-tag-arrowsquid.sh deleted file mode 100755 index 67755b574..000000000 --- a/ops/npm-tag-arrowsquid.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -packages=$(node common/scripts/install-run-rush.js -q list --json \ - | jq '.projects[] | select(.versionPolicyName == "npm" and (.path | contains("substrate") | not)) | (.name + "@" + .version)' -r) - -for pkg in $packages; do - npm dist-tag add "$pkg" latest || exit 1 -done