mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-12 19:30:30 +02:00
Compare commits
11 Commits
2.0.0-rc73
...
2.0.0rc23
| Author | SHA1 | Date | |
|---|---|---|---|
| e381992f8e | |||
| 6d5411a8ae | |||
| 89351d714b | |||
| c24f8933fb | |||
| 0bed0e0da4 | |||
| 8463eef907 | |||
| 5903de2aad | |||
| 0bf89fe14d | |||
| d54146e05b | |||
| d6f79c3ed8 | |||
| 3f4a0ee00d |
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@@ -6,7 +6,6 @@ on:
|
||||
- master
|
||||
- dev
|
||||
paths-ignore:
|
||||
- "**/.github/**"
|
||||
- "**/.gitignore"
|
||||
- "**/.vscode/**"
|
||||
- "**/README.md"
|
||||
@@ -66,24 +65,20 @@ jobs:
|
||||
git config --local user.name "creyD"
|
||||
|
||||
- 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}rc${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
|
||||
calculatedSha=$(git rev-parse --short ${{ github.sha }})
|
||||
git tag ${{ steps.git_version.outputs.version }}-rc${calculatedSha}
|
||||
git push origin ${{ steps.git_version.outputs.version }}-rc${calculatedSha}
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user