Skip to content

Commit 49cee51

Browse files
committed
Merge branch 'main' of https://github.com/Dataport/polar into fix/narrower-type
2 parents df436fa + b4dd6f3 commit 49cee51

File tree

11 files changed

+385
-8
lines changed

11 files changed

+385
-8
lines changed

.github/workflows/publish-packages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ jobs:
3535
git push origin $TAG
3636
echo "Released and tagged $TAG"
3737
done
38+
- run: node ./scripts/createRelease ${{ env.TAGS }}
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

arcana.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ For these cases, this not-so-secret file denotes our not-anymore-arcane knowledg
88

99
1. Draw a dependency tree of POLAR packages with changes documented as `"unpublished"` in their respective `CHANGELOG.md` files.
1010
2. Start with the leafs. Update the version from `"unpublished"` to the appropriate version indicated by the nature of changes. If required, change the package.json dependencies to refer to minimum versions of dependencies used.
11-
3. Push to main. A pipeline is now running that detects the CHANGELOG change, updates the version, publishes the package to NPM, and creates a tag `@polar/[email protected]`.
12-
4. Create new release note on GitHub. Select the previously created tag, use it as title, and copy the relevant changelog. Link to the NPM package. If it's a client, add the NPM package to the artifacts for an easier download. See previous releases for formatting of contents and artifacts.
11+
3. Push to main. A pipeline is now running that detects the CHANGELOG change, updates the version, publishes the package to NPM, creates a tag `@polar/[email protected]`, and procudes a GitHub release.
12+
4. If it's a client, add the NPM package to the release artifacts for an easier download. See previous releases for formatting of contents and artifacts.
1313
5. Delete leafs from tree made in `1`. Go back to `2` until the tree is empty.
1414

1515
## Update process

package-lock.json

Lines changed: 320 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"test:coverage": "jest --coverage"
3939
},
4040
"devDependencies": {
41+
"@actions/github": "^5.1.1",
4142
"@babel/core": "^7.21.3",
4243
"@babel/preset-env": "^7.20.2",
4344
"@cyclonedx/cyclonedx-npm": "^1.7.2",

0 commit comments

Comments
 (0)