forked from nativefier/nativefier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing the development branch, we want to use GitHub releases to autodeploy our changes to NPM.
- Loading branch information
Showing
2 changed files
with
37 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,42 @@ | ||
language: node_js | ||
|
||
env: | ||
- CXX=g++-4.8 | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
code_climate: | ||
repo_token: CODE_CLIMATE_TOKEN | ||
|
||
node_js: | ||
- "node" | ||
- "5" | ||
- "4" | ||
- node | ||
- '6' | ||
- '5' | ||
- '4' | ||
|
||
before_install: | ||
# install wine | ||
# Install wine | ||
- sudo add-apt-repository -y ppa:wine/wine-builds && sudo apt-get update && sudo apt-get install -y --install-recommends winehq-devel | ||
|
||
install: | ||
- npm run dev-up | ||
|
||
script: | ||
- npm run ci | ||
|
||
after_script: | ||
- codeclimate-test-reporter < ./coverage/lcov.info | ||
addons: | ||
code_climate: | ||
repo_token: CODE_CLIMATE_TOKEN | ||
|
||
deploy: | ||
provider: npm | ||
email: [email protected] | ||
api_key: | ||
secure: d/wwkEjXrgP7fJrbkqdSH2779ijL6zIMjRokGP6ojB+7SNiefO0tR8A+hVifeePRC8tDmg4Q/SaVN61+sVNiJc2lDMej6UyRy1WuYW9sYovc5ZRHfba/xUVlq8xQbww/bz2MD8Um9/ayKMViw1Mkt5BQ1sBf/4Q3Ua6WSGsy2rET234rVuk5eR9cYeA/WTH+/w4ae59ki2qyezFwSgCaM9SkxStKez+btKcltIpCBi/k28DjWFPhmGarouR5MYwGG0CqaLzYKgxWqaKS6wN/nO0YrdHBJyciZhccbxWOg9G2sKPTBsebYdyPCe9ykEAGkeibVjvUBGYsDxObTo5W4ccYgq9g/nSbSxyaYn022Xs7EJcGfZf8KWAeZuLrwtb/VgRQyZI5QOMRjN8s50oirVyWBH/lGD4VdKDix3TMbwsgs1Q3VbmU/4bSqeh3HSDK/chEDsw3rzu2c/D/Fl/4kh0MOX4q/qO/2bj9aEpX/Gc4JVqL9y89IeoYGE7ZzecCq64L0oKbNT0qAUjthFAu0a4E+zOedj5z/HpEMaqeH6FBF8a/Ds95QB9NX0REBsHazKcjOCv4wc6sItY4Wdj+l0/lkTSwuPhdgH9gwDbnwlSGG9j01k3aFhdxTm2k2nRzjoUs2iRZjnUwVLxVFn0jUyKh7mkRZZalaNeLQb0zTu4= | ||
on: | ||
tags: true | ||
repo: jiahaog/nativefier | ||
branch: development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,28 @@ | ||
# Release Notes | ||
|
||
My notes for release commands to NPM | ||
How to release a new version to NPM | ||
|
||
## Releasing | ||
|
||
At branch `development` ready to release to npm: | ||
Run the following command to get the changelog | ||
|
||
``` bash | ||
# Make sure ci tests pass | ||
npm run ci | ||
``` | ||
git checkout master | ||
# See the current version | ||
# Get the current version | ||
npm version | ||
# Update the changlog and perform cleanup on it | ||
# Add the changelog for the next version | ||
git changelog docs/changelog.md --tag <next version> | ||
subl docs/changelog.md | ||
# Edit the changelog | ||
vim docs/changelog.md | ||
# Commit it | ||
git add docs/changelog.md | ||
git commit -m "Update changelog for \`v<next version>\`" | ||
git push | ||
``` | ||
|
||
npm version <next version> | ||
|
||
# Can automate from here onwards | ||
|
||
# Publish it to npm | ||
npm run release | ||
|
||
# Merge changes into master | ||
git checkout master | ||
git merge development | ||
|
||
git push --follow-tags | ||
|
||
# Return to development | ||
git checkout development | ||
On [GitHub Releases](https://github.com/jiahaog/nativefier/releases), draft and publish a new release with title `Nativefier vX.X.X`. | ||
|
||
``` |