fa-harness-tools 1.0.1 → 1.0.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -1
- data/lib/fa-harness-tools/github_client.rb +3 -2
- data/lib/fa-harness-tools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8b62816b52a8c8cbb615df53ded387c2af166da2f3d986973d7649514ee17de
|
4
|
+
data.tar.gz: 3274cc9cd5dfad6ee8a10fb2e8dc79856e83b42d16d368aa8466bddc150a3d46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c0e753eab7662c459df2940436b57fbb2131710d4b572e3e87fc18f27315420c1e73635e9164ef20b7fb5e4486e871508e932fac69f1a013c988e1b77753ada
|
7
|
+
data.tar.gz: 8fe5898455f1cf835978ea810aeb1924fa75318a547590670f982d1d0e624ec04a877eca96287ef2d7536e58553083f6e5bffd35ee0bc39cd6f864f4b057d2a7
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -78,7 +78,9 @@ bundle exec exe/create-deployment-tag -r ${artifact.source.repositoryName} -e ${
|
|
78
78
|
|
79
79
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
80
80
|
|
81
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
81
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
82
|
+
|
83
|
+
To release a new version, update the version number in `version.rb`, run `bundle` and commit the version bump. Then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
82
84
|
|
83
85
|
The Ruby version used matches the one from the `harness/delegate` Docker image.
|
84
86
|
|
@@ -68,8 +68,9 @@ module FaHarnessTools
|
|
68
68
|
#
|
69
69
|
# Arguments match Octokit::Client::Objects#create_tag, minus first repo argument
|
70
70
|
# (http://octokit.github.io/octokit.rb/Octokit/Client/Objects.html#create_tag-instance_method)
|
71
|
-
def create_tag(*args)
|
72
|
-
@octokit.
|
71
|
+
def create_tag(tag, message, commit_sha, *args)
|
72
|
+
@octokit.create_ref(owner_repo, "tags/#{tag}", commit_sha)
|
73
|
+
@octokit.create_tag(owner_repo, tag, message, commit_sha, *args)
|
73
74
|
end
|
74
75
|
end
|
75
76
|
end
|