Skip to content

Commit

Permalink
Update to #2414: commit copied file
Browse files Browse the repository at this point in the history
  • Loading branch information
fatso83 committed Jan 28, 2022
1 parent 38ccc3e commit fd6156e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/postversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ git merge --no-edit -m "Merge version $PACKAGE_VERSION" $SOURCE_BRANCH
./scripts/copy-documentation-for-new-release.sh $PACKAGE_VERSION

echo 'copying new version to webpage assets'
cp "./pkg/sinon.js" "./docs/assets/js/"
cp "pkg/sinon.js" "./docs/assets/js/"
git add "docs/assets/js/"

echo 'copy new version to release archive'
cp "./pkg/sinon.js" "./docs/releases/sinon-$PACKAGE_VERSION.js"
cp "pkg/sinon.js" "./docs/releases/sinon-$PACKAGE_VERSION.js"

git add "docs/releases/sinon-$PACKAGE_VERSION.js"
git commit -n -m "Add version $PACKAGE_VERSION to releases"
Expand Down

0 comments on commit fd6156e

Please sign in to comment.