Skip to content

Commit

Permalink
Auto-merge for PR #57 via VersionBot
Browse files Browse the repository at this point in the history
chore(scripts): Also prebuild x86 on Windows and Linux
  • Loading branch information
resin-io-modules-versionbot[bot] authored Oct 18, 2017
2 parents c85aa68 + 0e4f05d commit cb36acc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).

## v1.3.4 - 2017-10-18

* Chore(scripts): Also prebuild x86 on Windows and Linux #57 [Jonas Hermsmeier]

## v1.3.3 - 2017-10-17

* Upgrade(package): Bump dependencies #56 [Jonas Hermsmeier]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mountutils",
"version": "1.3.3",
"version": "1.3.4",
"main": "index.js",
"description": "Cross platform mount related utilities",
"homepage": "https://github.com/resin-io-modules/mountutils",
Expand Down
3 changes: 2 additions & 1 deletion scripts/prebuild-publish.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

if %APPVEYOR_REPO_BRANCH% == master (
if %GITHUB_TOKEN% neq "" (
npm run prebuild -- -u %GITHUB_TOKEN%
npm run prebuild -- --arch x64 -u %GITHUB_TOKEN%
npm run prebuild -- --arch x86 -u %GITHUB_TOKEN%
)
)
7 changes: 6 additions & 1 deletion scripts/prebuild-publish.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

PLATFORM=$(node -p process.platform)

if [[ $GITHUB_TOKEN ]]; then
npm run prebuild -- -u "$GITHUB_TOKEN"
npm run prebuild -- --arch x64 -u "$GITHUB_TOKEN"
if [[ $PLATFORM == "linux" ]]; then
npm run prebuild -- --arch x86 -u "$GITHUB_TOKEN"
fi
fi

0 comments on commit cb36acc

Please sign in to comment.