Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hadashiA committed Oct 1, 2024
1 parent 17e1e56 commit 1def24b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/update-version-number.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,15 @@ jobs:
- name: Update package.json ${{ steps.configure.outputs.git-tag }}
run: |
ruby -i -pe 'gsub(/"version"\s*:\s*"([\d\.]+)"/, %q{"version": "${{ steps.configure.outputs.git-tag }}"})' src/VitalRouter.Unity/Assets/VitalRouter/package.json
ruby -i -pe 'gsub(/"version"\s*:\s*"([\d\.]+)"/, %q{"version": "${{ steps.configure.outputs.git-tag }}"})' src/VitalRouter.Unity/Assets/VitalRouter.MRuby/package.json
- name: Update Directory.Build.props ${{ steps.configure.outputs.git-tag }}
run: |
ruby -i -pe 'gsub(%r{(<PackageVersion>)([\d\.]+)(</PackageVersion>)}, %q{\1${{ steps.configure.outputs.git-tag }}\3})' Directory.Build.props
- name: Update README.md ${{ steps.configure.outputs.git-tag }}
run: |
ruby -i -pe 'gsub(%r{(https://github.com/hadashiA/VitalRouter.git\?path=/VitalRouter.Unity/Assets/VitalRouter#)[\d\.]+}, %q{\1${{ steps.configure.outputs.git-tag }}})' README.md
ruby -i -pe 'gsub(%r{(https://github.com/hadashiA/VitalRouter.git\?path=/src/VitalRouter.Unity/Assets/VitalRouter#)[\d\.]+}, %q{\1${{ steps.configure.outputs.git-tag }}})' README.md
- name: Check update on git
id: check_update
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jp.hadashikick.vitalrouter-mruby",
"displayName": "VitalRouter.MRuby",
"version": "1.2.2-preview",
"version": "1.4.1",
"unity": "2022.2",
"description": "The VitalRouter extension to allow scripting by mruby",
"keywords": ["pubsub", "event", "mvc", "framework", "ruby", "mruby"],
Expand Down

0 comments on commit 1def24b

Please sign in to comment.