File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ jobs:
178178
179179 - name : Install to staging directory
180180 working-directory : c
181- run : cmake --install build --prefix staging --config Release
181+ run : cmake --install build --prefix staging --config Release --component json_structure
182182
183183 - name : Create archive (Unix)
184184 if : runner.os != 'Windows'
Original file line number Diff line number Diff line change @@ -125,6 +125,13 @@ jobs:
125125 id : version
126126 run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
127127
128+ - name : Update version.rb from tag
129+ working-directory : ruby
130+ run : |
131+ VERSION="${{ steps.version.outputs.VERSION }}"
132+ sed -i "s/VERSION = '.*'/VERSION = '$VERSION'/" lib/jsonstructure/version.rb
133+ cat lib/jsonstructure/version.rb
134+
128135 - name : Verify version matches gemspec
129136 working-directory : ruby
130137 run : |
You can’t perform that action at this time.
0 commit comments