configure_trusted_publisher 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5df3ee4bdd488d5f14ee555fb5a9d1604615f523fab0397b992b7afcee8a0527
4
- data.tar.gz: acfed99642dd587cb9bc0e03719de8349415b69704df949132653f984457ae98
3
+ metadata.gz: 75930e6d2a3b492c60737125a7e4a96abf6f50339722b4d454e2641675c4d094
4
+ data.tar.gz: 45b86dc2cea3ac44909fe36e93d4cedd98f8ec06abf6e7af4b0dbc33c2050f07
5
5
  SHA512:
6
- metadata.gz: 48d61e87dd4240916c505a6adad16eeb7a3d85d426d37c6692775fd4921fef00885285b95476de49a86085a716ea85aec028d12e2e457d9b5532432c8048f407
7
- data.tar.gz: e9db9496d534fb4025f8bc3ca058a47a3cb5ef9ba741e8a13c2c3e3a34bac740c334b1ae55258412b38e820d9043f61a81ba9da7a4f2c7f68cd0b6b96c6b8335
6
+ metadata.gz: abebcafcae7cd008644fa9e61837e4ea2d298f0ca409c827eed3bf3b90146d6498328d0c02a91f65c373317862962d7faec2a3bb1a524198d51b19119e576507
7
+ data.tar.gz: a2d9ee000971206315bb8bbfea72c583eebcc5f4fe05273567dc4148a920367ccb553079d90a3e821f6700c79e18213dd693de8e584edb7d8441efc28cadd9da
@@ -244,6 +244,7 @@ module ConfigureTrustedPublisher
244
244
  def write_release_action(repository, rubygem_name)
245
245
  tag = "Automatically when a new tag matching v* is pushed"
246
246
  manual = "Manually by running a GitHub Action"
247
+ puts
247
248
  response = ask_multiple_choice(
248
249
  "How would you like releases for #{rubygem_name} to be triggered?", [
249
250
  tag,
@@ -278,7 +279,7 @@ module ConfigureTrustedPublisher
278
279
 
279
280
  jobs:
280
281
  push:
281
- if: github.repository == 'rubygems/configure_trusted_publisher'
282
+ if: github.repository == '#{github_repository.join('/')}'
282
283
  runs-on: ubuntu-latest
283
284
 
284
285
  permissions:
@@ -323,7 +324,7 @@ module ConfigureTrustedPublisher
323
324
 
324
325
  jobs:
325
326
  push:
326
- if: github.repository == 'rubygems/configure_trusted_publisher'
327
+ if: github.repository == '#{github_repository.join('/')}'
327
328
  runs-on: ubuntu-latest
328
329
 
329
330
  permissions:
@@ -355,6 +356,7 @@ module ConfigureTrustedPublisher
355
356
  def check_action(action_file)
356
357
  return FileUtils.mkdir_p(File.dirname(action_file)) || true unless File.exist?(action_file)
357
358
 
359
+ puts
358
360
  response = ask_multiple_choice(
359
361
  "#{action_file} already exists, overwrite?", { "y" => "Yes", "n" => "No" },
360
362
  default: "n"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ConfigureTrustedPublisher
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configure_trusted_publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giddins