From e4737016c50d9f6f53327a4e75b51516dabdbb95 Mon Sep 17 00:00:00 2001 From: ebenali Date: Mon, 15 Jan 2024 17:41:13 -0800 Subject: [PATCH] tag proper and scope the pkg name --- .github/workflows/publish.yml | 2 +- .yarnrc.yml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2ff7111..380be83 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,7 +56,7 @@ jobs: - run: git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" && git config --global user.name "$GITHUB_ACTOR" - run: yarn version patch - run: echo "NEW_TAG=$(jq .version > "$GITHUB_ENV" - - run: git tag "v$NEW_TAG" + - run: git tag v$NEW_TAG - run: git add package.json && git commit -m "botaction - auto tag v$NEW_TAG" - run: git remote set-url origin git@github.com:/MoreChickenDelivered/md-loader - run: git push --tags && git push diff --git a/.yarnrc.yml b/.yarnrc.yml index 3c4da72..5a9087c 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,4 +1,4 @@ npmScopes: - esp-code: + tt: npmAlwaysAuth: true npmAuthToken: "${NODE_AUTH_TOKEN}" diff --git a/package.json b/package.json index a2ff894..9875b6e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "esnext": "./index.ts", "types": "./index.d.ts", "homepage": "tradeterminal.io", - "name": "md-frag-loader", + "name": "@tt/md-loader", "scripts": { "build": "yarn install && tsc -p ./tsconfig.json" },