diff --git a/build/release.sh b/build/release.sh new file mode 100644 index 0000000..6138bbc --- /dev/null +++ b/build/release.sh @@ -0,0 +1,33 @@ +# Based on Vue.js Release file +# https://github.com/vuejs/vue/blob/dev/build/release.sh + +set -e + +if [[ -z $1 ]]; then + echo "Enter new version: " + read VERSION +else + VERSION=$1 +fi + +read -p "Releasing $VERSION - are you sure? (y/n) " -n 1 -r +echo +if [[ $REPLY =~ ^[Yy]$ ]]; then + echo "Releasing $VERSION ..." + + npm run lint + + # build + VERSION=$VERSION npm run build + + # commit + git add -A + git commit -m "[build] $VERSION" + npm version $VERSION --message "[release] $VERSION" + + # publish + git push origin refs/tags/v$VERSION + git push + npm run deploy-docs + npm publish +fi diff --git a/docs/src/pages/Changelog.vue b/docs/src/pages/Changelog.vue index 2dfe68d..4da20ac 100644 --- a/docs/src/pages/Changelog.vue +++ b/docs/src/pages/Changelog.vue @@ -2,6 +2,31 @@ +
+

v0.3.0 - Huge Release

+

New Components:

+ + +

Fixes:

+ +
+

v0.2.0 - New components

New Components:

@@ -9,17 +34,17 @@
  • Cards
  • -

    Changes:

    +

    Fixes:

    v0.1.2 - Minor Fixes

    -

    Changes:

    +

    Fixes: