You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+20
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,9 @@ And includes CLI and custom server handler to integrate with ApiGw.
14
14
-[Packaging](#packaging)
15
15
-[Server handler](#server-handler-1)
16
16
-[Static assets](#static-assets)
17
+
-[Versioning](#versioning)
18
+
-[Guess](#guess)
19
+
-[Shipit](#shipit)
17
20
-[TODO](#todo)
18
21
-[Disclaimer](#disclaimer)
19
22
@@ -280,6 +283,23 @@ Cloudfront paths used:
280
283
-`_next/*`
281
284
-`assets/*`
282
285
286
+
# Versioning
287
+
288
+
This package exposes two CLI functions intended to deal with versioning your application and releasing.
289
+
290
+
Motivation behind is to get rid of huge dependencies and over-kill implementations such as @auto-it, release-it or semver. Those are bulky and unncessarily complex.
291
+
292
+
## Guess
293
+
294
+
Simple CLI command that takes commit message and current version and outputs (stdout) next version based on keywords inside commit message.
295
+
296
+
## Shipit
297
+
298
+
Similar to guess command, however, it automatically tags a commit on current branch and creates release branch for you so hooking up pipelines is as simple as it can be. Version is automatically bumped in common NPM and PHP files (package.json, package-lock.json and composer.json).
299
+
300
+
Simply call `@sladg/next-lambda shipit` on any branch and be done.
0 commit comments