Skip to content

Commit 3ce643a

Browse files
authored
Merge branch 'main' into fix/dish-pin-colour
2 parents d8b58e0 + 5883563 commit 3ce643a

8 files changed

Lines changed: 411 additions & 50 deletions

File tree

‎.github/workflows/publish-packages.yml‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
publish:
1010
runs-on: ubuntu-latest
11+
outputs:
12+
matrix: ${{ steps.matrix.outputs.TAGS }}
1113
steps:
1214
- uses: actions/checkout@v2
1315
with:
@@ -17,10 +19,22 @@ jobs:
1719
node-version: 18.13.0
1820
registry-url: https://registry.npmjs.org/
1921
- run: npm ci
20-
- run: npm run publishPackages
22+
- run: echo "TAGS=$(node ./scripts/publishPackages)" >> $GITHUB_ENV
2123
env:
2224
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2325
- uses: EndBug/add-and-commit@v9
2426
with:
2527
author_name: Dataport Geo Bot
2628
author_email: dataportpolarsupport@dataport.de
29+
- run: |
30+
for TAG in ${{ env.TAGS }}
31+
do
32+
git config user.name "Dataport Geo Bot"
33+
git config user.email "dataportpolarsupport@dataport.de"
34+
git tag $TAG
35+
git push origin $TAG
36+
echo "Released and tagged $TAG"
37+
done
38+
- run: node ./scripts/createRelease ${{ env.TAGS }}
39+
with:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎.hack.sh.swp‎

12 KB
Binary file not shown.

‎arcana.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ 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, and publishes the package to NPM.
12-
4. Pull. Tag the last commit with `git tag @polar/package-name@x.y.z` appropriately for all packages released in that commit. `git push --tags` to push tags to GitHub.
13-
5. 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.
14-
6. Delete leafs from tree made in `1`. Go back to `2` until the tree is empty.
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/package-name@x.y.z`.
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.
13+
5. Delete leafs from tree made in `1`. Go back to `2` until the tree is empty.
1514

1615
## Update process
1716

0 commit comments

Comments
 (0)