We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb1935b + 8389619 commit 4eb6123Copy full SHA for 4eb6123
.github/workflows/add-milestone-to-pull-requests.yml
@@ -23,7 +23,8 @@ jobs:
23
# Parse the gemspec and return the major version
24
id: version
25
run: |
26
- echo "name=version::$(find . -name "*.gemspec" | ruby -ne "puts Gem::Specification.load($_.chomp).version.to_s.split(\".\").first")" >> "$GITHUB_OUTPUT"
+ VERSION=$(ruby -e "puts Gem::Specification.load(Dir.glob('*.gemspec').first).version.to_s.split('.').first")
27
+ echo "version=$VERSION" >> "$GITHUB_OUTPUT"
28
29
- name: Get project milestones
30
id: milestones
0 commit comments