Compare commits

..

13 Commits

2 changed files with 22 additions and 14 deletions

View File

@@ -6,7 +6,6 @@ on:
- master
- dev
paths-ignore:
- "**/.github/**"
- "**/.gitignore"
- "**/.vscode/**"
- "**/README.md"
@@ -65,24 +64,33 @@ jobs:
git config --local user.email "15138480+creyD@users.noreply.github.com"
git config --local user.name "creyD"
- name: Set version format
id: set_version
run: |
if [[ "${{ github.head_ref }}" == "master" ]]; then
echo "V_FORMAT=${major}.${minor}.${patch}" >> $GITHUB_ENV
elif [[ "${{ github.head_ref }}" == "dev" ]]; then
echo "V_FORMAT=${major}.${minor}.${patch}-prerelease${increment}" >> $GITHUB_ENV
fi
- name: get version format
run: echo "${{ steps.set_version.outputs.V_FORMAT }}" >> $GITHUB_STEP_SUMMARY
- name: Git Version
uses: codacy/git-version@2.8.0
uses: PaulHatch/semantic-version@v5.4.0
id: git_version
with:
minor-identifier: "feat:"
major-identifier: "breaking:"
release-branch: ${{ github.head_ref }}
tag_prefix: ""
major_pattern: "breaking:"
minor_pattern: "feat:"
enable_prerelease_mode: false
version_format: "${major}.${minor}.${patch}-prerelease${increment}"
- name: Create & Push Tag
if: github.head_ref == 'master' || github.head_ref == 'dev'
run: |
if [ "${{ github.head_ref }}" == "master" ]; then
git tag ${{ steps.git_version.outputs.version }}
git push origin ${{ steps.git_version.outputs.version }}
elif [ "${{ github.head_ref }}" == "dev" ]; then
git tag ${{ steps.git_version.outputs.version }}-rc
git push origin ${{ steps.git_version.outputs.version }}-rc
fi
git tag ${{ steps.git_version.outputs.version }}
git push origin ${{ steps.git_version.outputs.version }}
- name: Set up Python
uses: actions/setup-python@v5

View File

@@ -4,8 +4,8 @@ All notable changes to this project will be documented in this file.
## 2.0.0
- Fixed #1
- Fixed #3
- Fixed #1 Rename misspelled additonal_data to additional_data on create_obj_from_data
- Fixed #3 Inverse partial flag: bool = False because it was wrong on update_obj_from_data
Notes: