-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(theme)!: spectrum-web-components now supports Spectrum 2 system (#…
…4829) - feat(styles): add Spectrum 2 styles - feat(icons-workflow): add support for new Spectrum 2 icons (#4747) - feat(icon): add support for Spectrum 2 icons (#4747) - chore: remove pre-1.0.0 deprecations (#4828) - feat(coach-indicator)!: remove 'variant' and 'static' attributes from coach-indicator (#4772) - feat(split-button)!: remove split-button component (#4729) - feat(banner)!: remove banner component (#4723) - feat(badge)!: remove deprecated badge values (#4742) - feat(quick-actions)!: remove sp-quick-actions (#4761) - feat(popover)!: remove popover's dialog property (#4751) - feat(thumbnail)!: remove thumbnail deprecated sizes (#4760) - feat(progress-circle)!: remove progress-circle overBackground property (#4750) - feat(action-button,action-group,action-menu,button,link,meter,progress-bar): remove deprecated 'static' references (#4818) - feat(action-button)!: remove action-button variant property (#4741) - feat(theme)!: remove 'theme' attribute from sp-theme (#4765) - chore: make the spectrum-two theme fully functional (#4859) - chore: add 1.0.0 migration guide (#4776)
- Loading branch information
Showing
617 changed files
with
57,354 additions
and
23,278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: RC Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- feature/SWC-1.0-RC | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Set Git identity | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "github-actions-bot" | ||
- name: Get latest published 1.0.0-rc version | ||
id: get_latest_published_rc | ||
run: | | ||
LATEST_RC_VERSION=$(npm view @spectrum-web-components/button@rc version || echo "none") | ||
echo "latest_rc_version=$LATEST_RC_VERSION" >> $GITHUB_OUTPUT | ||
- name: Calculate next rc version | ||
id: calculate_next_rc_version | ||
run: | | ||
BASE_VERSION="1.0.0" | ||
LATEST_RC_VERSION="${{ steps.get_latest_published_rc.outputs.latest_rc_version }}" | ||
if [ "$LATEST_RC_VERSION" == "none" ]; then | ||
RC_VERSION="$BASE_VERSION-rc.0" | ||
else | ||
CURRENT_RC_NUMBER=$(echo "$LATEST_RC_VERSION" | sed 's/.*-rc\.\([0-9]\+\)/\1/') | ||
NEXT_RC_NUMBER=$((CURRENT_RC_NUMBER + 1)) | ||
RC_VERSION="$BASE_VERSION-rc.$NEXT_RC_NUMBER" | ||
fi | ||
echo "rc_version=$RC_VERSION" >> $GITHUB_OUTPUT | ||
- name: Update package versions for rc release | ||
run: | | ||
npx lerna version "${{ steps.calculate_next_rc_version.outputs.rc_version }}" --no-git-tag-version --no-push --yes | ||
- name: Configure NPM for Lerna publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: | | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | ||
- name: Publish 1.0.0 rc release | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: | | ||
git commit -am "chore: publish rc version ${{ steps.calculate_next_rc_version.outputs.rc_version }}" | ||
npx lerna publish from-package --dist-tag rc --no-git-tag-version --no-push --yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.