]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
build: fix version in dist files [skip ci]
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 1 Sep 2020 16:46:10 +0000 (18:46 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 1 Sep 2020 16:46:13 +0000 (18:46 +0200)
scripts/release.sh

index 7a973853626563c71008f5f5818a1189f7f017eb..b72dab8a873fb5e7fe15e87ced66444089f5ea01 100644 (file)
@@ -13,13 +13,14 @@ then
 
   # clear existing ts cache
   rm -rf node_modules/.rts2_cache
-  yarn run build
-  yarn run build:dts
-  yarn run test:dts
 
   # generate the version so that the changelog can be generated too
   yarn version --no-git-tag-version --no-commit-hooks --new-version $VERSION
 
+  yarn run build
+  yarn run build:dts
+  yarn run test:dts
+
   # changelog
   yarn run changelog
   yarn prettier --write CHANGELOG.md