Skip to content

wy-luke/label-push

Repository files navigation

Monorepo for Label Push

中文   |   English

Auto Release Auto Publish

Label Push could add a label text to your latest commit message and then push.

What for? E.g., you could add a "build" label to trigger the CI/CD Pipeline when you want.

Features

  • Add a label text to your latest commit message and then push.
  • Create an empty commit with the label when there are no new commits locally.
  • Pull automatically if necessary to make sure the label is added to the latest commit.
  • You can choose whether to commit the changes already staged.
  • You can choose whether to publish the branch that does not exist, or was deleted in the remote repository.
  • The label text is configurable.

Usage

You have several ways to use Label Push:

  1. Open the Command Palette (Ctrl+Shift+P / ⌘+Shift+P) and type Label Push.

  2. Click "Label Push" in the status bar:

    Status Bar Menu

  3. Click the Label Push icon in the Source Control view, as shown below:

    Souce Control View Navigation Menu

Acknowledgements

Thanks for the following projects, which inspired me a lot:

The icons used are from IconPark from Bytedance.