Skip to content

Commit

Permalink
ci: 👷 Fix version workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
esnya committed Jan 5, 2025
1 parent ac69277 commit e17cc39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: ["master", "feature/ci"]
tags:
- 'v*'
workflow_call:

env:
project: ResoniteMetricsCounter
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:
FILE=$(find . -name "*.csproj" | head -n 1)
sed -i "s/>${{ steps.get_version.outputs.previousVersion }}/>${{ github.event.inputs.version }}/" $FILE
- name: Create tag
run: |
git tag v${{ github.event.inputs.version }}
- name: Commit changes
run: |
git config --local user.name "github-actions[bot]"
Expand All @@ -41,4 +38,6 @@ jobs:
- name: Push changes
run: |
git push
git push --tags
- name: Build and Release
uses: esnya/ResoniteMetricsCounter/.github/workflows/dotnet-build.yml@master

0 comments on commit e17cc39

Please sign in to comment.