JasonEtco / build-and-tag-action

📦🔖 A GitHub Action for publishing JavaScript Actions
MIT License
92 stars 38 forks source link

Add ability to disable `shouldRewriteMajorAndMinorRef` #42

Open filmaj opened 1 year ago

filmaj commented 1 year ago

By default, this projects also creates major and minor tag references, e.g. if you create a 1.24.0 tag with this action, it will also create a 1.24 and a 1 tag.

This code:

https://github.com/JasonEtco/build-and-tag-action/blob/8aebd433ae6d9f3d7433205d11740c3f5163db8e/src/lib/index.ts#L19-L21

It would be cool to allow for disabling that behaviour.

JasonEtco commented 1 year ago

👋 that's a good idea. PR welcome!

filmaj commented 1 year ago

@JasonEtco I started on a PR and then hit #43 😬