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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75930e6d2a3b492c60737125a7e4a96abf6f50339722b4d454e2641675c4d094
|
|
4
|
+
data.tar.gz: 45b86dc2cea3ac44909fe36e93d4cedd98f8ec06abf6e7af4b0dbc33c2050f07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 == '
|
|
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 == '
|
|
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"
|