-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from pxblue/dev
Publish v1.3.0
- Loading branch information
Showing
1,543 changed files
with
916 additions
and
611 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
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
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* @huayunh @joebochill @emclaug2 |
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,29 +1,43 @@ | ||
# Publishing Instructions | ||
|
||
To update the version @pxblue/icons version number, edit the version in `package.json`. | ||
To update the version @pxblue/symbols version number, edit the version in `symbols/package.json`. | ||
To update the version @pxblue/icons-svg version number, edit the version in `svg/package.json`. | ||
## Automatic Publishing | ||
|
||
To publish a new package through NPM, run the following commands from the root folder: | ||
This package is published to NPM automatically by CircleCI when code is merged into the `dev` or `master` branches. To publish a new version, simply update the version in `package.json` and merge your code into the appropriate branch. | ||
- The `dev` branch will publish versions marked as `alpha` or `beta`. | ||
- The `master` branch will publish any version (`alpha`, `beta`, or `latest`). | ||
In both cases, the code will only be published if the version number differs from the current version published under the respective dist tag. | ||
|
||
## Manually Publishing | ||
|
||
If you need to publish a package manually, you can run the following commands from the root folder: | ||
|
||
### @pxblue/icons | ||
``` | ||
yarn build:all | ||
npm publish --tag <alpha | beta> | ||
yarn publish:package | ||
``` | ||
|
||
### @pxblue/icons-svg | ||
``` | ||
yarn build:all | ||
cd svg | ||
npm publish --tag <alpha | beta> | ||
yarn publish:package | ||
``` | ||
|
||
### @pxblue/symbols | ||
``` | ||
yarn build:all | ||
cd symbols | ||
npm publish --tag <alpha | beta> | ||
yarn publish:package | ||
``` | ||
|
||
The publishing script will look at the version in the `package.json` and automatically determine whether to publish an alpha, beta, or latest package. | ||
|
||
For this command to work, you must have an NPM token configured in your environment variables or you can perform a login prior to executing the publish command via: | ||
|
||
```sh | ||
yarn build | ||
npm adduser && yarn publish:package | ||
``` | ||
|
||
> The above commands should only be run for `alpha` or `beta` packages. This repo's CircleCI will automatically publish latest packages from the master branch. | ||
> Publishing manually should only be done for `alpha` or `beta` packages. The command will work for `latest` packages, but this should be avoided except in rare situations where the automatic publishing functionality is not working in CircleCI. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
design/Devices/Battery Large/battery_large_showing_terminals.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Oops, something went wrong.