瀏覽代碼

Fix version numbers used for website build

This is a combination of 7 commits.

test

teeeeeeeeeeeeest

Revert to current commit after building integration tests

Revert "test"

This reverts commit f0522648d2267b62d133a4b8d8867332a24476b1.

re enable integration test

deploy web to a test branch

Revert "teeeeeeeeeeeeest"

This reverts commit 29f95d3bff477f069c0cc32067086c01ef6f8d2a.
Renée Kooi 6 年之前
父節點
當前提交
bd0cc5baa3
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      bin/endtoend-build-ci

+ 2 - 4
bin/endtoend-build-ci

@@ -12,12 +12,13 @@ __base="$(basename ${__file} .sh)"
 __root="$(cd "$(dirname "${__dir}")" && pwd)"
 
 VERDACCIO_REGISTRY=http://localhost:4002
+CURRENT_COMMIT="$(git rev-parse HEAD)"
 
 cleanup() {
   rm -rf "${__root}/test/endtoend/node_modules"
   rm -rf "${__root}/test/endtoend/tmp"
   git reset
-  git checkout -- .
+  git checkout $CURRENT_COMMIT
 }
 function on_exit() {
   # revert to public registry
@@ -58,9 +59,6 @@ ENDTOEND=1 lerna publish from-git --yes \
   --no-verify-access \
   --npm-client=npm
 
-# revert version changes
-git checkout -- packages/*/package.json packages/@uppy/*/package.json
-
 # install all packages to the endtoend folder
 # (Don't use the npm cache, don't generate a package-lock, don't save dependencies to any package.json)
 pushd "${__root}/test/endtoend"