1.4.2 • Published 11 months ago

github-publisher v1.4.2

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Github-publisher

Github-publisher is a simple library that allows you to push to GitHub with just one command. With the latest version of Github-publisher, it also handles the generation of a CHANGELOG file for your repository.

Installation

To install Github-publisher, use the following command:

  npm install -g github-publisher

Usage

Creating a New Repository

To create a new repository on GitHub and push your code to it, use the following command:

github-publisher https://github.com/<username>/<reponame>.git

You can also use the shorter alias gp:

gp https://github.com/<username>/<reponame>.git

Pushing to an Existing Repository

If you already have a repository and want to push a commit to it, use the following command:

github-publisher <commit>

Again, you can use the shorter alias gp:

gp <commit>

Writing Changelog

Github-publisher allows you to include your commit in specific sections of the CHANGELOG file. Use the following flags to indicate the type of commit:

  • --bugfix or -B: Add the commit under the "Fixed Bugs" section in the CHANGELOG.
  • --feature or -F: Add the commit under the "Implemented Enhancements" section in the CHANGELOG.

If you don't provide any flags, the commit will be pushed to GitHub without modifying the CHANGELOG.

Examples

Here's an example of using Github-publisher to create a new repository and push code to it:

gp https://github.com/<username>/<reponame>.git

Here's an example of using Github-publisher to publish new feature:

gp Added the ability to generate changelog -F

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the Github-publisher repository.

License

Github-publisher is released under the MIT License.

1.3.6

11 months ago

1.3.5

12 months ago

1.3.4

12 months ago

1.4.2

11 months ago

1.3.3

12 months ago

1.4.1

11 months ago

1.3.2

12 months ago

1.4.0

11 months ago

1.3.0

12 months ago

1.2.9

1 year ago

1.2.0

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago