gotsha 0.2.5 → 0.2.7
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/CHANGELOG.md +9 -0
- data/lib/gotsha/action_dispatcher.rb +1 -1
- data/lib/gotsha/actions/fetch.rb +1 -1
- data/lib/gotsha/templates/github_action_example.yml +0 -1
- data/lib/gotsha/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: 07ff11747b5826264e7e769a5fc54060e5dada3ee863486845ade8a494582e77
|
4
|
+
data.tar.gz: 7adf1726a9918a61df23672bb8fc61de58cdc721b65962759280012256b0fc40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27e90c032e3907111be9a5ca668afbbf10cf79e0494e139348e764a5adecc49b217f158269e95e97822aa29ad30d1257e6cb43f2a98715617fca6e3c7065dff8
|
7
|
+
data.tar.gz: ce208e256b534d47e02414cc09d0d2765df5ad4cc2e7ab20a15740dcfbd154586bb287e8263ee64b77ee7486d76f0f576a5070dea5f2c4486ca4b58e07a29e9e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## [0.2.7] - 2025-10-14
|
2
|
+
|
3
|
+
- Ensure notes fetching always works by using `--force`
|
4
|
+
- Better text output when invalid command passed
|
5
|
+
|
6
|
+
## [0.2.6] - 2025-10-14
|
7
|
+
|
8
|
+
- Make the GH action faster by avoiding `bundle install` (we need to install just the Gotsha gem)
|
9
|
+
|
1
10
|
## [0.2.5] - 2025-10-14
|
2
11
|
|
3
12
|
- Introduce `push` and `fetch` commands
|
@@ -49,7 +49,7 @@ module Gotsha
|
|
49
49
|
def action_class
|
50
50
|
Kernel.const_get("Gotsha::Actions::#{action_name.capitalize}")
|
51
51
|
rescue NameError
|
52
|
-
raise Errors::HardFail, "unknown command `#{action_name}`.
|
52
|
+
raise Errors::HardFail, "unknown command `#{action_name}`. See available commands via `gotsha help`."
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
data/lib/gotsha/actions/fetch.rb
CHANGED
@@ -6,7 +6,7 @@ module Gotsha
|
|
6
6
|
DESCRIPTION = "fetches Gotsha test results from remote"
|
7
7
|
|
8
8
|
def call
|
9
|
-
command = BashCommand.silent_run!("git fetch origin 'refs/notes/gotsha:refs/notes/gotsha'")
|
9
|
+
command = BashCommand.silent_run!("git fetch --force origin 'refs/notes/gotsha:refs/notes/gotsha'")
|
10
10
|
|
11
11
|
raise(Errors::HardFail, "something went wrong") unless command.success?
|
12
12
|
|
data/lib/gotsha/version.rb
CHANGED