Skip to content

Commit bcb95cc

Browse files
Main simplify release (#89)
* get full git history first * remove deprecated auth warning * use pnpm publish instead of npm * @instructure.ai/[email protected] * lint * @instructure.ai/[email protected] * Update .github/workflows/release-package.yml Co-authored-by: Copilot <[email protected]> * Update .github/workflows/release-package.yml Co-authored-by: Copilot <[email protected]> * update build script * properly invoke custom build script * simplify release script * exit early when no change in ./apps * easier PR prefix validation * use fetch-depth: 0 * robust git dif * use proper exit codes * use conditional yaml * @instructure.ai/[email protected] * don't force push tags * @instructure.ai/[email protected] --------- Co-authored-by: Copilot <[email protected]>
1 parent 644fcb6 commit bcb95cc

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/tag-on-merge.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
NAME=$(jq -r .name $pkgjson)
3535
VERSION=$(jq -r .version $pkgjson)
3636
TAG="${NAME}@${VERSION}"
37-
git tag -f $TAG
38-
git push --force origin $TAG
37+
# Check if tag exists remotely
38+
if git ls-remote --tags origin | grep -q "refs/tags/$TAG"; then
39+
echo "Tag $TAG already exists on remote, skipping push."
40+
else
41+
git tag $TAG
42+
git push origin $TAG
43+
fi
3944
done

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"vitest": "^3.2.4",
1818
"yaml": "^2.8.1"
1919
},
20-
"version": "1.1.5",
20+
"version": "1.1.6",
2121
"name": "@instructure.ai/shared-configs",
2222
"packageManager": "[email protected]",
2323
"private": true,

0 commit comments

Comments
 (0)