Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(actions): ♻️ rebuild ci publish system #63

Merged
merged 17 commits into from
Mar 11, 2021

Conversation

yi-Xu-0100
Copy link
Collaborator

@yi-Xu-0100 yi-Xu-0100 commented Mar 11, 2021

The release workflow will run with the follow steps by trigger manually:

  1. Set up job and checkout code for all history with tags.
  2. Bump version of package.json and write change log with standard-version.
  3. Pretty the format of CHANGELOG.md, push the commit, and add a tag.
  4. Follow the official tutorials to publish extension.
  5. Build the .vsix.
  6. Get the release note from the formated CHANGELOG.md by using mindsers/changelog-reader-action.
  7. Create release.
  8. Upload release asset.

Other changes:

  1. add CHANGELOG.md into .prettierignore.
  2. add the script deploy for publish.
  3. delete the script version.
  4. delete the script release.
  5. use the cmd of sed 's/^### \[/## [/' -i CHANGELOG.md to change the changelog content, because it will make content to fit the markdown rules.
  6. use the cmd of yarn prettier --write CHANGELOG.md --prose-wrap never --ignore-path ./gitignore to pretty the format of CHANGELOG.md, and it will make content to fill correcttly with the release body.

Close #59

@yi-Xu-0100
Copy link
Collaborator Author

@vivaxy I test in my fork repo and will also push any commit in fork repo in the future in case that I push a mistake to commit.

I also add the tag in the steps, it works well except for the publishing which I can not test. See in https://github.com/yi-Xu-0100/vscode-conventional-commits/releases/tag/v1.17.0

If there are no more suggestions for the steps, I will squash and merge the PR and will test to publish a patch version. 😀

@vivaxy
Copy link
Owner

vivaxy commented Mar 11, 2021

Awesome! I have no more questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] generate failed when make a patch version update
2 participants