diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff14554..88138f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,11 +1,7 @@ name: release on: - push: - branches: - - master - paths: - - CHANGELOG.md + workflow_dispatch: jobs: run: @@ -14,8 +10,19 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2.3.4 + with: + fetch-depth: 0 + + - name: Setup package + run: yarn install - - name: Get version from package + - name: Bump version + run: | + yarn standard-version --skip.commit --skip.tag + sed 's/^### \[/## [/' -i CHANGELOG.md + yarn prettier --write CHANGELOG.md --prose-wrap never --ignore-path ./gitignore + + - name: Get version from package.json uses: actions/github-script@v3.1.0 id: version with: @@ -24,29 +31,29 @@ jobs: const version = require(`${process.env.GITHUB_WORKSPACE}/package.json`).version; core.setOutput('repo', context.repo.repo); core.setOutput('version', version); - const time = new Date(Date.now()).toISOString().slice(0,10); - const titleLink = version.replace(/\./g,'') + '-' + time; - core.setOutput('titleLink', titleLink); - try { - var latestRelease = await github.repos.getLatestRelease({ - owner: context.repo.owner, - repo: context.repo.repo - }); - const latestTag = latestRelease.data.tag_name; - core.setOutput('commitLink', `compare/${latestTag}...v${version}`); - } catch (error) { - if (error.message === 'Not Found') { - core.setOutput('commitLink', `commits/v${version}`); - } else { - core.setFailed(error.message); - } - } - return true; - - name: Generate Package + - name: Push commit run: | - yarn install - yarn run build + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git add . + git commit -m "chore(release): :bookmark: release v${{steps.version.outputs.version}}" + git push https://x-access-token:${{secrets.GITHUB_TOKEN}}@github.com/${{github.GITHUB_REPOSITORY}}.git + + - name: Publish package + env: + VSCE_PAT: ${{ secrets.VSCE_PAT }} + run: yarn run deploy + + - name: Build release asset + run: yarn run build + + - name: Get Changelog Entry + id: changelog_reader + uses: mindsers/changelog-reader-action@v2.0.0 + with: + version: ${{steps.version.outputs.version}} + path: ./CHANGELOG.md - name: Create release id: create_release @@ -56,11 +63,10 @@ jobs: with: tag_name: v${{steps.version.outputs.version}} release_name: Release v${{steps.version.outputs.version}} - body: | - * Changelogs: - - * Commits: - + body: ${{ steps.changelog_reader.outputs.changes }} + prerelease: + ${{ steps.changelog_reader.outputs.status == 'prereleased' }} + draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }} - name: Upload release asset uses: actions/upload-release-asset@v1.0.2 diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..83b6947 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +CHANGELOG.md \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 336049e..bc9803c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,277 +1,218 @@ # Changelog -All notable changes to this project will be documented in this file. See -[standard-version](https://github.com/conventional-changelog/standard-version) -for commit guidelines. +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ## [1.16.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.15.1...v1.16.0) (2021-03-02) ### Features -- ✨ add new scope selection - ([#51](https://github.com/vivaxy/vscode-conventional-commits/issues/51)) - ([05a5b39](https://github.com/vivaxy/vscode-conventional-commits/commit/05a5b39c3e677104a9999e069ab74e8818212bc5)), - closes [#50](https://github.com/vivaxy/vscode-conventional-commits/issues/50) +- ✨ add new scope selection ([#51](https://github.com/vivaxy/vscode-conventional-commits/issues/51)) ([05a5b39](https://github.com/vivaxy/vscode-conventional-commits/commit/05a5b39c3e677104a9999e069ab74e8818212bc5)), closes [#50](https://github.com/vivaxy/vscode-conventional-commits/issues/50) -### [1.15.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.15.0...v1.15.1) (2021-02-24) +## [1.15.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.15.0...v1.15.1) (2021-02-24) ### Bug Fixes -- 🚑 fix the bug for locale unavailable - ([7672206](https://github.com/vivaxy/vscode-conventional-commits/commit/76722068e7cdf64a5ad9feffccfd40d6bc231620)), - closes [#52](https://github.com/vivaxy/vscode-conventional-commits/issues/52) +- 🚑 fix the bug for locale unavailable ([7672206](https://github.com/vivaxy/vscode-conventional-commits/commit/76722068e7cdf64a5ad9feffccfd40d6bc231620)), closes [#52](https://github.com/vivaxy/vscode-conventional-commits/issues/52) ## [1.15.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.14.0...v1.15.0) (2021-02-23) ### Features -- :globe_with_meridians: support conventional commit types in chinese - ([295cecd](https://github.com/vivaxy/vscode-conventional-commits/commit/295cecd9f0c3349be77eb711916df22ebacb2195)), - closes [#47](https://github.com/vivaxy/vscode-conventional-commits/issues/47) +- :globe_with_meridians: support conventional commit types in chinese ([295cecd](https://github.com/vivaxy/vscode-conventional-commits/commit/295cecd9f0c3349be77eb711916df22ebacb2195)), closes [#47](https://github.com/vivaxy/vscode-conventional-commits/issues/47) ### Bug Fixes -- :bug: fix the extension language source - ([2909708](https://github.com/vivaxy/vscode-conventional-commits/commit/2909708b0eecdec20dba9dfdcc44b146942d41f4)) -- **deps:** update commitlint monorepo to v12 - ([f6a1e57](https://github.com/vivaxy/vscode-conventional-commits/commit/f6a1e5757b3c8caa407fb7e7ca08006944541e25)) +- :bug: fix the extension language source ([2909708](https://github.com/vivaxy/vscode-conventional-commits/commit/2909708b0eecdec20dba9dfdcc44b146942d41f4)) +- **deps:** update commitlint monorepo to v12 ([f6a1e57](https://github.com/vivaxy/vscode-conventional-commits/commit/f6a1e5757b3c8caa407fb7e7ca08006944541e25)) ## [1.14.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.13.0...v1.14.0) (2021-02-15) ### Features -- add option to open the full commit message in a separate tab - ([e519d11](https://github.com/vivaxy/vscode-conventional-commits/commit/e519d11306e3165ba880eb4709f6951592bd2929)) +- add option to open the full commit message in a separate tab ([e519d11](https://github.com/vivaxy/vscode-conventional-commits/commit/e519d11306e3165ba880eb4709f6951592bd2929)) ### Bug Fixes -- **typo:** workspacceFolders -> workspaceFolders - ([7055a58](https://github.com/vivaxy/vscode-conventional-commits/commit/7055a58f25837200fe37366e4e152027ea77dbd7)) +- **typo:** workspacceFolders -> workspaceFolders ([7055a58](https://github.com/vivaxy/vscode-conventional-commits/commit/7055a58f25837200fe37366e4e152027ea77dbd7)) ## [1.13.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.12.1...v1.13.0) (2020-11-10) ### Features -- :sparkles: support more commitlint rules - ([c3168e0](https://github.com/vivaxy/vscode-conventional-commits/commit/c3168e07bbeac6d2ce65f52d59c914e6a529f9d1)) +- :sparkles: support more commitlint rules ([c3168e0](https://github.com/vivaxy/vscode-conventional-commits/commit/c3168e07bbeac6d2ce65f52d59c914e6a529f9d1)) -### [1.12.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.12.0...v1.12.1) (2020-10-09) +## [1.12.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.12.0...v1.12.1) (2020-10-09) ### Bug Fixes -- :bug: fix ts type - ([117cf92](https://github.com/vivaxy/vscode-conventional-commits/commit/117cf92a1101792d66c9ae20a396f531ecab72fd)) +- :bug: fix ts type ([117cf92](https://github.com/vivaxy/vscode-conventional-commits/commit/117cf92a1101792d66c9ae20a396f531ecab72fd)) ## [1.12.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.11.1...v1.12.0) (2020-10-09) ### Features -- :globe_with_meridians: support chinese language - ([cfabbc2](https://github.com/vivaxy/vscode-conventional-commits/commit/cfabbc2f6e5e8f064545fde1c9434c3b3bc36457)) +- :globe_with_meridians: support chinese language ([cfabbc2](https://github.com/vivaxy/vscode-conventional-commits/commit/cfabbc2f6e5e8f064545fde1c9434c3b3bc36457)) ### Bug Fixes -- **deps:** update commitlint monorepo to v11 - ([1ec93cf](https://github.com/vivaxy/vscode-conventional-commits/commit/1ec93cfd594a3cb8170e9e3a5c2ddb3661ff3f37)) -- **deps:** update dependency gitmojis to v3 - ([4ccad4e](https://github.com/vivaxy/vscode-conventional-commits/commit/4ccad4e1ebbc9ea1c2def63579207b83e4288e86)) +- **deps:** update commitlint monorepo to v11 ([1ec93cf](https://github.com/vivaxy/vscode-conventional-commits/commit/1ec93cfd594a3cb8170e9e3a5c2ddb3661ff3f37)) +- **deps:** update dependency gitmojis to v3 ([4ccad4e](https://github.com/vivaxy/vscode-conventional-commits/commit/4ccad4e1ebbc9ea1c2def63579207b83e4288e86)) -### [1.11.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.11.0...v1.11.1) (2020-08-26) +## [1.11.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.11.0...v1.11.1) (2020-08-26) ### Bug Fixes -- :bug: fix an error when nothing selected in quick picker - ([cf15aa4](https://github.com/vivaxy/vscode-conventional-commits/commit/cf15aa4285864992e6d41d3b55b91fa4bc81b818)) -- :bug: fix subject length lint not matching commitlint - ([93922b2](https://github.com/vivaxy/vscode-conventional-commits/commit/93922b20be5bfaf2c30ec38cbe1af1a3c2ad9830)), - closes [#30](https://github.com/vivaxy/vscode-conventional-commits/issues/30) +- :bug: fix an error when nothing selected in quick picker ([cf15aa4](https://github.com/vivaxy/vscode-conventional-commits/commit/cf15aa4285864992e6d41d3b55b91fa4bc81b818)) +- :bug: fix subject length lint not matching commitlint ([93922b2](https://github.com/vivaxy/vscode-conventional-commits/commit/93922b20be5bfaf2c30ec38cbe1af1a3c2ad9830)), closes [#30](https://github.com/vivaxy/vscode-conventional-commits/issues/30) ## [1.11.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.10.1...v1.11.0) (2020-08-18) ### Features -- :arrow_up: upgrade to the latest gitmoji - ([607a5b0](https://github.com/vivaxy/vscode-conventional-commits/commit/607a5b0964861b83fbf069a05c91de9a7eec279d)) +- :arrow_up: upgrade to the latest gitmoji ([607a5b0](https://github.com/vivaxy/vscode-conventional-commits/commit/607a5b0964861b83fbf069a05c91de9a7eec279d)) -### [1.10.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.10.0...v1.10.1) (2020-07-15) +## [1.10.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.10.0...v1.10.1) (2020-07-15) ### Bug Fixes -- :bug: fix icon not displayed on SVM title when workspace is enabled - ([0507aa9](https://github.com/vivaxy/vscode-conventional-commits/commit/0507aa96bfd4d9836955a1884dd5cf275e06c6c6)) +- :bug: fix icon not displayed on SVM title when workspace is enabled ([0507aa9](https://github.com/vivaxy/vscode-conventional-commits/commit/0507aa96bfd4d9836955a1884dd5cf275e06c6c6)) ## [1.10.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.9.0...v1.10.0) (2020-07-07) ### Features -- :sparkles: add subject-empty && modify subject-min-length message - ([c7b1e8f](https://github.com/vivaxy/vscode-conventional-commits/commit/c7b1e8f510158ba544d6e22a0ddb1ae84d47e07f)) -- :sparkles: subject is required && add subjectMinLength - ([0e0f2df](https://github.com/vivaxy/vscode-conventional-commits/commit/0e0f2df132dd063b92311a55dc51766853f5af6f)) -- :sparkles: support more commitlint rules - ([89d7440](https://github.com/vivaxy/vscode-conventional-commits/commit/89d7440ae7d083310600b98cb98dc6d65758bb5e)) +- :sparkles: add subject-empty && modify subject-min-length message ([c7b1e8f](https://github.com/vivaxy/vscode-conventional-commits/commit/c7b1e8f510158ba544d6e22a0ddb1ae84d47e07f)) +- :sparkles: subject is required && add subjectMinLength ([0e0f2df](https://github.com/vivaxy/vscode-conventional-commits/commit/0e0f2df132dd063b92311a55dc51766853f5af6f)) +- :sparkles: support more commitlint rules ([89d7440](https://github.com/vivaxy/vscode-conventional-commits/commit/89d7440ae7d083310600b98cb98dc6d65758bb5e)) ## [1.9.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.8.1...v1.9.0) (2020-07-06) ### Features -- :sparkles: support config emoji format - ([bf54e57](https://github.com/vivaxy/vscode-conventional-commits/commit/bf54e57f286cae8cf7500b96afe1c1dff0510bf9)), - closes [#19](https://github.com/vivaxy/vscode-conventional-commits/issues/19) +- :sparkles: support config emoji format ([bf54e57](https://github.com/vivaxy/vscode-conventional-commits/commit/bf54e57f286cae8cf7500b96afe1c1dff0510bf9)), closes [#19](https://github.com/vivaxy/vscode-conventional-commits/issues/19) ### Bug Fixes -- **deps:** update dependency @commitlint/load to v9 - ([2829c97](https://github.com/vivaxy/vscode-conventional-commits/commit/2829c97d699a3d1f85a0627619ef0f9e7cee0c1e)) +- **deps:** update dependency @commitlint/load to v9 ([2829c97](https://github.com/vivaxy/vscode-conventional-commits/commit/2829c97d699a3d1f85a0627619ef0f9e7cee0c1e)) -### [1.8.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.8.0...v1.8.1) (2020-06-15) +## [1.8.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.8.0...v1.8.1) (2020-06-15) ### Bug Fixes -- :bug: fix branch name is undefined when repo is detached - ([e9c6945](https://github.com/vivaxy/vscode-conventional-commits/commit/e9c6945b1031883603c9482dc7a6875bed9cc317)) +- :bug: fix branch name is undefined when repo is detached ([e9c6945](https://github.com/vivaxy/vscode-conventional-commits/commit/e9c6945b1031883603c9482dc7a6875bed9cc317)) ## [1.8.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.7.0...v1.8.0) (2020-06-12) ### Features -- :sparkles: support workspace - ([70fbb83](https://github.com/vivaxy/vscode-conventional-commits/commit/70fbb83cd85574566fe5a9e670e2e441c7b01dd3)) +- :sparkles: support workspace ([70fbb83](https://github.com/vivaxy/vscode-conventional-commits/commit/70fbb83cd85574566fe5a9e670e2e441c7b01dd3)) ## [1.7.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.6.2...v1.7.0) (2020-06-09) ### Features -- :sparkles: support custom commit types - ([c4810d9](https://github.com/vivaxy/vscode-conventional-commits/commit/c4810d961776cf6396e673013f61ec1ddd88d205)), - closes [#16](https://github.com/vivaxy/vscode-conventional-commits/issues/16) +- :sparkles: support custom commit types ([c4810d9](https://github.com/vivaxy/vscode-conventional-commits/commit/c4810d961776cf6396e673013f61ec1ddd88d205)), closes [#16](https://github.com/vivaxy/vscode-conventional-commits/issues/16) -### [1.6.2](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.6.1...v1.6.2) (2020-06-09) +## [1.6.2](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.6.1...v1.6.2) (2020-06-09) ### Bug Fixes -- :bug: fix an issue which results in an empty scope saved to the settings file - ([640223f](https://github.com/vivaxy/vscode-conventional-commits/commit/640223fccbf1441fb5dc34d9980e4449979f2968)) +- :bug: fix an issue which results in an empty scope saved to the settings file ([640223f](https://github.com/vivaxy/vscode-conventional-commits/commit/640223fccbf1441fb5dc34d9980e4449979f2968)) -### [1.6.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.6.0...v1.6.1) (2020-05-15) +## [1.6.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.6.0...v1.6.1) (2020-05-15) ### Bug Fixes -- :bug: fix `\\` treated as `\` - ([f7bf9a5](https://github.com/vivaxy/vscode-conventional-commits/commit/f7bf9a5fcdf0cd66f18a6f644c19af66a38202df)) +- :bug: fix `\\` treated as `\` ([f7bf9a5](https://github.com/vivaxy/vscode-conventional-commits/commit/f7bf9a5fcdf0cd66f18a6f644c19af66a38202df)) ## [1.6.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.5.0...v1.6.0) (2020-05-15) ### Features -- :sparkles: add `lineBreak` option - ([3f5a18e](https://github.com/vivaxy/vscode-conventional-commits/commit/3f5a18e7d373854acecb453cde84c76253c74fbe)), - closes [#10](https://github.com/vivaxy/vscode-conventional-commits/issues/10) +- :sparkles: add `lineBreak` option ([3f5a18e](https://github.com/vivaxy/vscode-conventional-commits/commit/3f5a18e7d373854acecb453cde84c76253c74fbe)), closes [#10](https://github.com/vivaxy/vscode-conventional-commits/issues/10) ## [1.5.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.4.4...v1.5.0) (2020-05-08) ### Features -- :sparkles: read scopes from commitlint config - ([1b77af0](https://github.com/vivaxy/vscode-conventional-commits/commit/1b77af05d84e9bd9ac67b9e554d519046577293e)), - closes [#11](https://github.com/vivaxy/vscode-conventional-commits/issues/11) +- :sparkles: read scopes from commitlint config ([1b77af0](https://github.com/vivaxy/vscode-conventional-commits/commit/1b77af05d84e9bd9ac67b9e554d519046577293e)), closes [#11](https://github.com/vivaxy/vscode-conventional-commits/issues/11) -### [1.4.4](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.4.3...v1.4.4) (2020-05-07) +## [1.4.4](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.4.3...v1.4.4) (2020-05-07) -### [1.4.3](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.4.2...v1.4.3) (2020-05-07) +## [1.4.3](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.4.2...v1.4.3) (2020-05-07) -### [1.4.2](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.4.1...v1.4.2) (2020-05-06) +## [1.4.2](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.4.1...v1.4.2) (2020-05-06) -### [1.4.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.4.0...v1.4.1) (2020-05-01) +## [1.4.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.4.0...v1.4.1) (2020-05-01) ### Bug Fixes -- :bug: fix `cannot find module` - ([3cce3c8](https://github.com/vivaxy/vscode-conventional-commits/commit/3cce3c822bdd6f41eb982fe2a00b78caad3660b5)) +- :bug: fix `cannot find module` ([3cce3c8](https://github.com/vivaxy/vscode-conventional-commits/commit/3cce3c822bdd6f41eb982fe2a00b78caad3660b5)) ## [1.4.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.3.0...v1.4.0) (2020-04-28) ### Features -- :sparkles: always show none value and new scope item - ([2e2952f](https://github.com/vivaxy/vscode-conventional-commits/commit/2e2952f64498614c747f311a31f12269598710b9)) -- :sparkles: supports commitlint max length rules - ([6b93fc9](https://github.com/vivaxy/vscode-conventional-commits/commit/6b93fc9af76c38e5f55a60bd53a68685c3720a1a)) +- :sparkles: always show none value and new scope item ([2e2952f](https://github.com/vivaxy/vscode-conventional-commits/commit/2e2952f64498614c747f311a31f12269598710b9)) +- :sparkles: supports commitlint max length rules ([6b93fc9](https://github.com/vivaxy/vscode-conventional-commits/commit/6b93fc9af76c38e5f55a60bd53a68685c3720a1a)) ## [1.3.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.2.0...v1.3.0) (2020-04-21) ### Features -- :sparkles: Persist prompts on focus out - ([80ef1d8](https://github.com/vivaxy/vscode-conventional-commits/commit/80ef1d8bfecba103977d5885c691ce2a4af3fc97)), - closes [#5](https://github.com/vivaxy/vscode-conventional-commits/issues/5) +- :sparkles: Persist prompts on focus out ([80ef1d8](https://github.com/vivaxy/vscode-conventional-commits/commit/80ef1d8bfecba103977d5885c691ce2a4af3fc97)), closes [#5](https://github.com/vivaxy/vscode-conventional-commits/issues/5) ## [1.2.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.1.1...v1.2.0) (2020-04-02) ### Features -- :sparkles: support commits in git subdirectories - ([4e001cd](https://github.com/vivaxy/vscode-conventional-commits/commit/4e001cdfe135bcf8dee23e4e15e81c5e4686608c)) +- :sparkles: support commits in git subdirectories ([4e001cd](https://github.com/vivaxy/vscode-conventional-commits/commit/4e001cdfe135bcf8dee23e4e15e81c5e4686608c)) -### [1.1.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.1.0...v1.1.1) (2020-03-31) +## [1.1.1](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.1.0...v1.1.1) (2020-03-31) ## [1.1.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v1.0.0...v1.1.0) (2020-03-31) ### Features -- :sparkles: supports remember previous scopes - ([9f91e30](https://github.com/vivaxy/vscode-conventional-commits/commit/9f91e303d1bb37a20c3950544175f457ced0f9a1)), - closes [#2](https://github.com/vivaxy/vscode-conventional-commits/issues/2) -- **scope:** :sparkles: limit scope to existing scopes with the ability to add - new scopes - ([643f689](https://github.com/vivaxy/vscode-conventional-commits/commit/643f68973b75daaca4ce0a01979cc328d61ee583)) -- :sparkles: add step indicators - ([6a98690](https://github.com/vivaxy/vscode-conventional-commits/commit/6a9869027110917d1d1545483d47b4f5443a4254)) +- :sparkles: supports remember previous scopes ([9f91e30](https://github.com/vivaxy/vscode-conventional-commits/commit/9f91e303d1bb37a20c3950544175f457ced0f9a1)), closes [#2](https://github.com/vivaxy/vscode-conventional-commits/issues/2) +- **scope:** :sparkles: limit scope to existing scopes with the ability to add new scopes ([643f689](https://github.com/vivaxy/vscode-conventional-commits/commit/643f68973b75daaca4ce0a01979cc328d61ee583)) +- :sparkles: add step indicators ([6a98690](https://github.com/vivaxy/vscode-conventional-commits/commit/6a9869027110917d1d1545483d47b4f5443a4254)) ### Bug Fixes -- :bug: fix commit message with extra space words - ([b4d2802](https://github.com/vivaxy/vscode-conventional-commits/commit/b4d2802d8be374aa7e75127c51fe3f38f4e92279)) +- :bug: fix commit message with extra space words ([b4d2802](https://github.com/vivaxy/vscode-conventional-commits/commit/b4d2802d8be374aa7e75127c51fe3f38f4e92279)) ## [1.0.0](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.7...v1.0.0) (2020-03-27) ### Features -- :sparkles: support disable gitmoji - ([d55b16e](https://github.com/vivaxy/vscode-conventional-commits/commit/d55b16ec121c130d48315599be663b02d43c5a5b)), - closes [#4](https://github.com/vivaxy/vscode-conventional-commits/issues/4) +- :sparkles: support disable gitmoji ([d55b16e](https://github.com/vivaxy/vscode-conventional-commits/commit/d55b16ec121c130d48315599be663b02d43c5a5b)), closes [#4](https://github.com/vivaxy/vscode-conventional-commits/issues/4) -### [0.0.7](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.6...v0.0.7) (2020-03-27) +## [0.0.7](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.6...v0.0.7) (2020-03-27) ### Features -- :sparkles: support auto commit - ([c22919e](https://github.com/vivaxy/vscode-conventional-commits/commit/c22919ef3fa0c6449f82b1c7af800ef97e8c38c7)), - closes [#3](https://github.com/vivaxy/vscode-conventional-commits/issues/3) +- :sparkles: support auto commit ([c22919e](https://github.com/vivaxy/vscode-conventional-commits/commit/c22919ef3fa0c6449f82b1c7af800ef97e8c38c7)), closes [#3](https://github.com/vivaxy/vscode-conventional-commits/issues/3) -### [0.0.6](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.5...v0.0.6) (2020-03-25) +## [0.0.6](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.5...v0.0.6) (2020-03-25) -### [0.0.5](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.4...v0.0.5) (2020-03-25) +## [0.0.5](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.4...v0.0.5) (2020-03-25) ### Features -- :sparkles: add extension icon - ([b23025b](https://github.com/vivaxy/vscode-conventional-commits/commit/b23025b7784d95c777a86874e9f188e6d6889f4e)) +- :sparkles: add extension icon ([b23025b](https://github.com/vivaxy/vscode-conventional-commits/commit/b23025b7784d95c777a86874e9f188e6d6889f4e)) -### [0.0.4](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.3...v0.0.4) (2020-03-24) +## [0.0.4](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.3...v0.0.4) (2020-03-24) ### Features -- :truck: rename extension name - ([d205626](https://github.com/vivaxy/vscode-conventional-commits/commit/d2056267022d10bfe91ade6fc3d9a336f7d09dbb)) +- :truck: rename extension name ([d205626](https://github.com/vivaxy/vscode-conventional-commits/commit/d2056267022d10bfe91ade6fc3d9a336f7d09dbb)) -### [0.0.3](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.2...v0.0.3) (2020-03-24) +## [0.0.3](https://github.com/vivaxy/vscode-conventional-commits/compare/v0.0.2...v0.0.3) (2020-03-24) ### 0.0.2 (2020-03-24) ### Features -- :sparkles: init - ([a8c2a57](https://github.com/vivaxy/vscode-conventional-commits/commit/a8c2a57a1d754eebb5f5de620bf010c2eae1c8de)) -- :sparkles: initial commit - ([3dec3d5](https://github.com/vivaxy/vscode-conventional-commits/commit/3dec3d5c86a304e5f354d7d464d3633bbc92250f)) +- :sparkles: init ([a8c2a57](https://github.com/vivaxy/vscode-conventional-commits/commit/a8c2a57a1d754eebb5f5de620bf010c2eae1c8de)) +- :sparkles: initial commit ([3dec3d5](https://github.com/vivaxy/vscode-conventional-commits/commit/3dec3d5c86a304e5f354d7d464d3633bbc92250f)) diff --git a/package.json b/package.json index 5c32ed6..700d8db 100644 --- a/package.json +++ b/package.json @@ -102,8 +102,7 @@ "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./", - "release": "standard-version && vsce publish && git push --follow-tags", - "version": "standard-version && git push --follow-tags", + "deploy": "vsce publish --yarn", "build": "vsce package", "postinstall": "husky install", "prepublishOnly": "pinst --disable",