8000 release 1.0.1 (fix problems with github releases) by js2me · Pull Request #7 · acacode/kinka · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions 9 .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ script:
- yarn build
after_success:
- ls -l
- git status
- env
- git remote rm origin
- git remote add origin https://js2me:${GITHUB_TOKEN}@github.com/acacode/kinka.git
Expand All @@ -27,12 +26,16 @@ after_success:
- git fetch
- git symbolic-ref HEAD refs/heads/${TRAVIS_BRANCH}
- git symbolic-ref HEAD
- git add . && git commit -m "travis: build release ${PACKAGE_VERSION} [ci skip]"
- git push
- git remote show origin
- git status
- if [ ${TRAVIS_BRANCH} = "master" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ];then
git add . && git commit -m "build release ${PACKAGE_VERSION} [ci skip]";
git push --set-upstream origin ${TRAVIS_BRANCH};
yarn git-release ${PACKAGE_VERSION};
npm publish;
rm -rf dist;
git add . && git commit -m "remove dist folder [ci skip]";
git push --set-upstream origin ${TRAVIS_BRANCH};
fi
# - npm publish

0