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.
gem-push.sh
1 parent 30312c0 commit 01ebad8Copy full SHA for 01ebad8
.buildkite/gem-push.sh
@@ -1,12 +1,14 @@
1
#!/bin/bash -eu
2
3
+GEM_NAME="fastlane-plugin-wpmreleasetoolkit"
4
+
5
echo "--- :hammer: Build Gemspec"
-gem build fastlane-plugin-wpmreleasetoolkit.gemspec
6
+gem build "$GEM_NAME.gemspec" -o "$GEM_NAME.gem"
7
8
echo "--- :sleuth_or_spy: Validate Gem Install"
-gem install --user-install fastlane-plugin-wpmreleasetoolkit-*.gem
9
+gem install --user-install "$GEM_NAME.gem"
10
11
echo "--- :rubygems: Gem Push"
12
echo ":rubygems_api_key: ${RUBYGEMS_API_KEY}" >>".gem-credentials"
13
chmod 600 ".gem-credentials"
-gem push --config-file ".gem-credentials" fastlane-plugin-wpmreleasetoolkit-*.gem
14
+gem push --config-file ".gem-credentials" "$GEM_NAME.gem"
0 commit comments