Skip to content

Commit dbf34ef

Browse files
committed
refactor: auto release pipeline and readme updated after rebase
1 parent 22531f8 commit dbf34ef

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v6
1717
with:
18-
go-version-file: 'go.mod'
18+
go-version-file: go.mod
1919

2020
- name: Storage-CLI Build for Linux
2121
env:
@@ -53,4 +53,4 @@ jobs:
5353
path: |
5454
storage-cli-linux-amd64
5555
storage-cli-windows-amd64.exe
56-
retention-days: 30
56+
retention-days: 30
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name : Release
1+
name : Release Auto
22

33
on:
44
push:

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,7 @@ Option 2: Release via Draft Release
133133
- The release will appear immediately on the Releases page. This action will also trigger the *Release Manual* workflow, which will build the artifacts and upload them to the published release once the workflow finishes.
134134

135135

136-
## Release
137-
138-
Releases are automatically created for Windows and Linux platforms through the `release.yml` GitHub Actions workflow.
139-
140-
### Automated Release Process
136+
### Automated Release
141137

142138
When changes are merged into the `main` branch, a new release is automatically triggered. The version number is determined using **semantic versioning** based on conventional commit message prefixes:
143139

@@ -156,11 +152,9 @@ When changes are merged into the `main` branch, a new release is automatically t
156152
- `build:` - Dependabot commits
157153
- `no conventional commits` - text without specifying any of above
158154

159-
### Manual Release
160-
161-
For manual releases (e.g., major version updates or hotfixes), use the GitHub Actions **workflow_dispatch** trigger with a version bump type selector (patch/minor/major).
155+
**Note: When the repo becomes more stable, we are gonna merge these 2 release logic.**
162156

163-
### Commit Message Examples
157+
#### Commit Message Examples
164158

165159
```bash
166160
# Major release (v1.2.3 → v2.0.0)

0 commit comments

Comments
 (0)