Skip to content

Commit

Permalink
fix: set next as default prerelease branch (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
BalbinaK committed Sep 20, 2023
1 parent 4c5b359 commit bb0be72
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- main
- alpha
- beta
- next
jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Update alpha
name: Update next
on:
workflow_run:
workflows:
- Release
branches:
- alpha
- main
types: completed
jobs:
rebase:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Rebase alpha to main
- name: Rebase next to main
run: |
git fetch --unshallow
git checkout alpha
git checkout next
git rebase origin/main
git push
1 change: 0 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"branches": [
{ "name": "main" },
{ "name": "alpha", "prerelease": true },
{ "name": "beta", "prerelease": true },
{ "name": "next", "prerelease": true }
],
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ pnpm dev

## Releases

This project is continuously published to [NPM](https://www.npmjs.com/package/@warp-ds/icons) and [Eik](https://assets.finn.no/pkg/@warp-ds/icons) using an `alpha` tag (e.g. `1.1.0-alpha.1`).
Anyone needing to use the latest changes of this package can point to the `alpha` version while waiting for the stable release.
This project is continuously published to [NPM](https://www.npmjs.com/package/@warp-ds/icons) and [Eik](https://assets.finn.no/pkg/@warp-ds/icons) using a `next` tag (e.g. `1.1.0-next.1`).
Anyone needing to use the latest changes of this package can point to the `next` version while waiting for the stable release.

Eik versions for each of Vue, Elements and React icons that are built to the ./dist folder are automatically published to Eik under the path `https://assets.finn.no/pkg/{name}/{version}/`.

Expand Down

0 comments on commit bb0be72

Please sign in to comment.