mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
parent
77a18c4449
commit
b398db02cc
4
.cz.toml
4
.cz.toml
@ -1,7 +1,7 @@
|
|||||||
[tool.commitizen]
|
[tool.commitizen]
|
||||||
name = "cz_conventional_commits"
|
name = "cz_conventional_commits"
|
||||||
tag_format = "$version"
|
tag_format = "v$version"
|
||||||
version_scheme = "semver"
|
version_scheme = "semver"
|
||||||
version = "0.7.0"
|
version = "v0.1.0"
|
||||||
update_changelog_on_bump = true
|
update_changelog_on_bump = true
|
||||||
major_version_zero = true
|
major_version_zero = true
|
||||||
|
33
.github/workflows/tag-on-merge.yml
vendored
33
.github/workflows/tag-on-merge.yml
vendored
@ -11,19 +11,28 @@ permissions:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
create_release_tag:
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
fetch-depth: 0
|
||||||
fetch-depth: "0"
|
|
||||||
|
|
||||||
- name: Bump version and push tag
|
- name: Install Commitizen
|
||||||
uses: anothrNick/github-tag-action@v1 # Don't use @master or @v1 unless you're happy to test the latest version
|
run: pip install commitizen
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
|
- name: Determine next version
|
||||||
WITH_V: true
|
id: version
|
||||||
|
run: |
|
||||||
|
next_version=$(cz bump --dry-run)
|
||||||
|
echo "Next version: $next_version"
|
||||||
|
echo "NEW_VERSION=$next_version" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Create and push tag
|
||||||
|
run: |
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
|
git tag -a "release/${{ env.NEW_VERSION }}" -m "Release ${{ env.NEW_VERSION }}"
|
||||||
|
git push origin "release/${{ env.NEW_VERSION }}"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## 0.7.0 (2024-09-05)
|
## 0.1.0 (2024-09-05)
|
||||||
|
|
||||||
### Feat
|
### Feat
|
||||||
|
|
||||||
@ -79,7 +79,7 @@
|
|||||||
- remove unused FileSystem interface
|
- remove unused FileSystem interface
|
||||||
- remove unused functions and types
|
- remove unused functions and types
|
||||||
- update AssetInfo protobuf definition
|
- update AssetInfo protobuf definition
|
||||||
- add field to
|
- add field to
|
||||||
- Update KeyKind Enum to have proper naming conventions
|
- Update KeyKind Enum to have proper naming conventions
|
||||||
- Update `DIDNamespace` to have proper naming convention
|
- Update `DIDNamespace` to have proper naming convention
|
||||||
- expose ports directly in docker-compose
|
- expose ports directly in docker-compose
|
||||||
|
Loading…
x
Reference in New Issue
Block a user