-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Use Release API for binary downloads #712
Comments
At some point, we were gauging the options to either use gh-API or amazon S3 bucket with node-pre-gyp (#56), until this CentOS incompatible binary issue showed up. BTW, shouldn't we use this API for uploading the binaries only? I mean the download URL will remain the same: |
I think the new download URL would be something like |
Nice one! So basically we can upload assets to node-sass repo, instead of having a separate node-sass-binaries repo. I think something like this will do the trick: https://gist.github.com/am11/a4a708120f16934f5d81 (credit goes to this guy: http://stackoverflow.com/a/26680032/863980). We can then place node scripts/build -f
# then
node scripts/upload --user am11 --auth myGitHubOAuthToken
|
Incidentally, will these upload assets appear in the repository? |
I think the binaries should still stay in the separate repo, and then we just copy them to the release when the release goes live. |
I agree. This way, we can take binaries contribution even after the node-sass build has released. We can think about knitting #720, #389, #689 and this one to form a versatile build strategy, which will allow users to specify:
Then for the release, we will:
On Later if we realize that some new binary needs to be uploaded for this (published) release, we can use the GH API upload script (
If they need to download binaries for multiple OSes (for distilled deployment use-cases: as #689), they can Even the post-release-binaries will also be pushed to node-sass-binaries repo first and then a tagged release will be made for instance: Thoughts? |
👍 x 💯 |
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as envionment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload upload URL. * Note: this will superesede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as envionment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will superesede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: #.743.
from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. //cc @nschonni, @xzyfer
from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743. //cc @nschonni, @xzyfer
from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743. //cc @nschonni, @xzyfer
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743. //cc @nschonni, @xzyfer
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
Note that if the binary name is other than
However, with njs v0.12 and io.js vEdge, it works on Linux. On Windows it works for all njs 0.10, 0.12 and io.js vEdge. This happened when I was testing with The only hiccup is now we would manually rename the binary files before uploading as release asset. @koppa, it seems like there is a strong name bond in 0.10.x, which was removed in latter versions on node.js and io.js. Is there a work around for it? |
@am11 wouldn't the upload to the release API be a zip? The zip itself would have the correct folder nesting when you unzip it. I don't know what is the preferred npm package for dealing with cross-platform unzipping anymore. |
There is also the option of using Appveyor for the Windows binaries http://www.appveyor.com/docs/deployment/github |
The AppVeyor technique is the one which node-pre-gyp uses. Our script is just a baby version of it. 👶 I think its better that we could avoid the unzipping step (with extra dependency). If we somehow workaround that node 0.10 issue, we will save this extra folder nesting for good and a |
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede default name. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * This name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Note: this will supersede both default name as well as the `SASS_BINARY_NAME` environment variable. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede default path. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * This name will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Note: this will supersede both default path as well as the `SASS_BINARY_PATH` environment variable. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * Note: this will supersede default name. * Allows user to set binary name as in package file `"nodeSassConfig": { "binary-name": "" }`. * Note: this will supersede default name and `SASS_BINARY_NAME` environment variable. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * Note: this will supersede default name, name defined in package `nodeSassConfig` as well as the `SASS_BINARY_NAME` environment variable. * This binary name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * Note: this will supersede default path. * Allows user to set binary name as in package file `"nodeSassConfig": { "binary-path": "" }`. * Note: this will supersede default path and `SASS_BINARY_PATH` environment variable. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * Note: this will supersede default path, path as well as the `SASS_BINARY_PATH` environment variable. * This binary path will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * Note: this will supersede default name. * Allows user to set binary name as in package file `"nodeSassConfig": { "binary-name": "" }`. * Note: this will supersede default name and `SASS_BINARY_NAME` environment variable. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * Note: this will supersede default name, name defined in package `nodeSassConfig` as well as the `SASS_BINARY_NAME` environment variable. * This binary name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * Note: this will supersede default path. * Allows user to set binary name as in package file `"nodeSassConfig": { "binary-path": "" }`. * Note: this will supersede default path and `SASS_BINARY_PATH` environment variable. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * Note: this will supersede default path, path as well as the `SASS_BINARY_PATH` environment variable. * This binary path will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * Note: this will supersede default name. * Allows user to set binary name as in package file `"nodeSassConfig": { "binary-name": "" }`. * Note: this will supersede default name and `SASS_BINARY_NAME` environment variable. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * Note: this will supersede default name, name defined in package `nodeSassConfig` as well as the `SASS_BINARY_NAME` environment variable. * This binary name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * Note: this will supersede default path. * Allows user to set binary name as in package file `"nodeSassConfig": { "binary-path": "" }`. * Note: this will supersede default path and `SASS_BINARY_PATH` environment variable. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * Note: this will supersede default path, path as well as the `SASS_BINARY_PATH` environment variable. * This binary path will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
Merged! 😃 |
* Delivers binary name, paths and download URL from lib/extensions.js. * Allows user to set binary name as environment variable with `SASS_BINARY_NAME`. * Note: this will supersede default name. * Allows user to set binary name as in package file `"nodeSassConfig": { "binary-name": "" }`. * Note: this will supersede default name and `SASS_BINARY_NAME` environment variable. * Allows user to set binary name as parameter to invoke any node-sass script with `--binary-name` flag. * Note: this will supersede default name, name defined in package `nodeSassConfig` as well as the `SASS_BINARY_NAME` environment variable. * This binary name will be used to construct the: * Binary path. * Binary download URL. * Upload URL. * Allows user to set binary path as environment variable with `SASS_BINARY_PATH`. * Note: this will supersede default path. * Allows user to set binary name as in package file `"nodeSassConfig": { "binary-path": "" }`. * Note: this will supersede default path and `SASS_BINARY_PATH` environment variable. * Allows user to set binary path as parameter to invoke any node-sass script with `--binary-path` flag. * Note: this will supersede default path, path as well as the `SASS_BINARY_PATH` environment variable. * This binary path will be used when: * Requiring node-sass package. * Downloading binary. * Uploading binary. * Wraps all extensions in `process.sass` namespace. Issue URL: sass#712. PR URL: sass#743.
👍 I came across this today https://www.npmjs.com/package/semantic-release and it might be worth looking at later |
While a tag shouldn't be altered once it's been made, the GitHub release API allows files to be attached to the release https://developer.github.com/v3/repos/releases/#upload-a-release-asset
This would mean that platform specific binaries could be built and attached after the code had been tagged. This would be a solution to the recent issue of frequent io.js releases in between official tagged releases. People could just check out the latest release tag and build for the new platform to be supported.
The text was updated successfully, but these errors were encountered: