spfx-release
Installation
SKILL.md
SPFx Release Automation
Release a new SPFx version. The version argument is: $ARGUMENTS
Steps to perform:
-
Update version in all files - Find and replace the old version with the new one in:
- Dockerfile (generator-sharepoint version)
- README.md (Available tags section - update latest, online, and add new version tag)
- DevelopmentContainers.md (devcontainer.json example)
- any other files you find references to the SPFx version.
-
Commit changes with message:
SPFx v$ARGUMENTS - new version updates -
Squash commits since last tag:
- Get the last tag:
git describe --tags --abbrev=0 - Soft reset to that tag:
git reset --soft <last-tag> - Re-commit with the same message
- Get the last tag: