shopify-cli 2.33.0 → 2.33.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac3c8680848c4b1caae004aba8327a321aded59a73e9454130534726a16a5a4d
4
- data.tar.gz: 46bc06119d1fce33ebef93562bcbe904c5938502d9394b8748000b0ff260671a
3
+ metadata.gz: b36bc404542b0e83792be77e63389a35c2d28d453390b6f5de47b83e18e104ca
4
+ data.tar.gz: 6ceadf801362de66172f8b59d3d39c7cf608a419f08c5ede5eef2d8143092b57
5
5
  SHA512:
6
- metadata.gz: 51da54fda07bd8d66d0aa4e8aedd54df04c23fc50fff79e520179f5e956f4eb940c961e933794f59187b92171fb9998393666dd58986219887a003f848341e78
7
- data.tar.gz: 35a4a6bda609ff6775880f80e9b31171e9edbeef0bbc9745bd5b17b47c6e9d428e4b0a146f075642e229e0cc224e3202b9f5bfed170650b91b1fe7ebb5c30725
6
+ metadata.gz: ae5a1f3ba940cdd89f0edb5ee914b53d1269238fdabc7d25bc5b43754825b74cbc2134cd5835194a4438e5be27e1f861227550bff4c9156e1de6cef9574e1b1a
7
+ data.tar.gz: 48e9d6c4477ae2a441d56e3cb4554aded9fe8829726c2b72ab5d51224908f340ed67153905242b5d90b5166034f0cff1d38d7f29d8c8340f8222251f804c5510
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@ From version 2.6.0, the sections in this file adhere to the [keep a changelog](h
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## Version 2.33.1 - 2023-01-09
6
+
7
+ ### Fixed
8
+ * [#2706](https://github.com/Shopify/shopify-cli/pull/2706): Delete checksum after file deletion
9
+
5
10
  ## Version 2.33.0 - 2022-12-19
6
11
 
7
12
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify-cli (2.33.0)
4
+ shopify-cli (2.33.1)
5
5
  bugsnag (~> 6.22)
6
6
  listen (~> 3.7.0)
7
7
  theme-check (~> 1.12.1)
data/RELEASING.md CHANGED
@@ -1,5 +1,24 @@
1
1
  ## Releasing Shopify CLI
2
2
 
3
+ This page contains instructions for CLI 2.0. If you are looking for instructions for CLI 3.0, please visit the [CLI 3.0 documentation](https://github.com/Shopify/cli/blob/main/docs/release.md).
4
+
5
+ ### Automated process
6
+
7
+ We release the CLI with a series of Rake tasks run locally, interspersed with PR-based checkpoints. The steps are:
8
+
9
+ 1. `export GITHUB_ACCESS_TOKEN=$(dev github print-auth | grep Password | awk '{print $NF}')`
10
+ 2. `rake "release:prepare[2.x.x]"` (where 2.x.x is the version being released)
11
+ 3. PR to shopify-cli will open in your browser. Sanity-check and merge.
12
+ 4. Trigger [Shipit](https://shipit.shopify.io/shopify/shopify-cli/rubygems) on your version commit to release on RubyGems
13
+ 5. `rake release:package`
14
+ 6. Homebrew PR will open in your browser. Sanity-check and merge.
15
+ 7. Release will also be opened in your browser, check that it includes debian and rpm files.
16
+ 8. Go through all the [PRs labeled with includes-post-release-steps](https://github.com/Shopify/shopify-cli/issues?q=label%3Aincludes-post-release-steps+is%3Aclosed) and follow the post-release steps described in those PRs. Delete the labels afterward.
17
+
18
+ In case the automation goes wrong, try with the manual instructions.
19
+
20
+ ### Manual process
21
+
3
22
  1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
4
23
  2. Make sure you're on the most recent `main`
5
24
  ```
@@ -50,4 +69,4 @@
50
69
  * upload the `.deb` and `.rpm` files from `packaging/builds/X.Y.Z/` (generated in step 9)
51
70
  * if it's a pre-release version, select the "This is a pre-release" checkbox
52
71
  * and click "Publish release".
53
- 15. Go through all the PR [labeled with `includes-post-release-steps`](https://github.com/Shopify/shopify-cli/labels/includes-post-release-steps) and follow the post-release steps described in those PRs. Delete the labels afterward.
72
+ 15. Go through all the PR [labeled with `includes-post-release-steps`](https://github.com/Shopify/shopify-cli/labels/includes-post-release-steps) and follow the post-release steps described in those PRs. Delete the labels afterward.
@@ -20,6 +20,12 @@ module ShopifyCLI
20
20
  file.checksum != checksum_by_key[file.relative_path]
21
21
  end
22
22
 
23
+ def delete(file)
24
+ checksums_mutex.synchronize do
25
+ checksum_by_key.delete(to_key(file))
26
+ end
27
+ end
28
+
23
29
  def keys
24
30
  checksum_by_key.keys
25
31
  end
@@ -348,6 +348,8 @@ module ShopifyCLI
348
348
  }),
349
349
  )
350
350
 
351
+ checksums.delete(file) if checksums.has?(file)
352
+
351
353
  response
352
354
  end
353
355
 
@@ -1,3 +1,3 @@
1
1
  module ShopifyCLI
2
- VERSION = "2.33.0"
2
+ VERSION = "2.33.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.33.0
4
+ version: 2.33.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-19 00:00:00.000000000 Z
11
+ date: 2023-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler