Skip to content

Commit

Permalink
Merge pull request #1481 from Dentrax/pipelines-ruby-remove-signing-key
Browse files Browse the repository at this point in the history
pipelines/ruby: remove signing_key by default
  • Loading branch information
mamccorm authored Sep 8, 2024
2 parents a27b2c8 + 650ff64 commit aaa2459
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/build/pipelines/ruby/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ pipeline:
output_flag=''
[ -n '${{inputs.output}}' ] && output_flag='--output ${{inputs.output}}'
# If it exist, remove the signing_key from gemspec by default since it leads to
# build failures as the key is not available in the build environment and is not needed.
sed -i '/signing_key/d' ${{inputs.gem}}.gemspec || true
gem build \
${{inputs.gem}}.gemspec \
${output_flag} \
Expand Down

0 comments on commit aaa2459

Please sign in to comment.