From 27d872e9e3120385b753be581aabfa1563caf7f2 Mon Sep 17 00:00:00 2001 From: Vaibhav Rabber Date: Mon, 13 Jan 2025 18:18:24 +0530 Subject: [PATCH 1/2] chore(release): v0.1.1 --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d136595..b0ba192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. +## [v0.1.1] - 2025-01-13 + +### Documentation + +- Update README with detailed steps ([#20](https://github.com/s2-streamstore/s2-sdk-go/issues/20)) + +### Miscellaneous Tasks + +- Add script for valid semver tag parsing ([#19](https://github.com/s2-streamstore/s2-sdk-go/issues/19)) + ## [v0.1.0] - 2025-01-10 ### Features From 48d87d4594c1a07c3677967bc73b5f48c821ae11 Mon Sep 17 00:00:00 2001 From: Vaibhav Rabber Date: Mon, 13 Jan 2025 19:48:58 +0530 Subject: [PATCH 2/2] chore(release): Fix prepare release task --- Taskfile.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Taskfile.yml b/Taskfile.yml index 4f90d5b..46fae00 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -143,8 +143,15 @@ tasks: vars: SEMVER: sh: ./scripts/semver.sh {{.VERSION}} + BRANCH: 'release-{{.SEMVER}}-{{now | unixEpoch}}' cmds: + - git switch main + - git pull origin main + - git switch -c {{.BRANCH}} - git cliff --unreleased --tag {{.SEMVER}} --prepend CHANGELOG.md + - git add CHANGELOG.md + - 'git commit -m "chore(release): {{.SEMVER}}"' + - echo "Push the branch '{{.BRANCH}}'. Once merged, create tag the release using 'task release:tag'" release:tag: requires: