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
#!/bin/sh | |
# Usage example: ./edit_sinon_docs.sh stubs 4.1.1 | |
# Will open stubs.md from 4.1.1 for editing and propagate the changes to later versions. | |
# Make sure you have SINON_HOME pointing to the repository root. | |
# You'll need git and the npm "semver" package installed (npm i -g semver) | |
cd $SINON_HOME/docs | |
FILENAME=$1.md |
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
#!/bin/sh | |
# Usage example: ./propagate_docs_change_top_down.sh 4.1.1 stubs | |
# Will propagate changes already made in release-source/release/stubs.md from to earlier versions, until and including 4.4.1 | |
# If a section name is omitted, the release.md file will be used. | |
# Make sure you have SINON_HOME pointing to the repository root. | |
# You'll need git and the npm "semver" package installed (npm i -g semver) | |
cd $SINON_HOME/docs |