afterlife 1.7.0 → 1.7.2

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: 1ffc976585b365c8ca8aef05a6a29cda8a17a75e23e11b5c63bbaf87b642dadd
4
- data.tar.gz: caffb4ab8840d0b4e9ab421aa002479e3a425627c6ed75f0db283bd96bc6a3ea
3
+ metadata.gz: acd1912f0524e2efc93ab47e2f43fed17487fc5b05cff9c56f25e275c4501790
4
+ data.tar.gz: 3f658d550f54904680eb77ab7333bcde9bfeea2b5dbe4f19b634132ac45276e4
5
5
  SHA512:
6
- metadata.gz: 7867557a8d55c92e4ff347761f6f0b2df9dc7ee563de9d334b8fe2652cc33b36058cfe4b179292ad9c649700c7012935fc360bbdc31d418ba7366b0ff9805944
7
- data.tar.gz: c58bd6f13ae95e3a7b612458a49db8da74a4736779621c0458424d0f1f96793a54f4c6c6114558c6999557cd8d0fbf318ce175249f2dbc5f3db4eefa50871bb2
6
+ metadata.gz: a14e900ab52e37392e5a2ebe142257a72db3a0c79b47947975f28d1ac3c58f4c6085c22027935c3be4bd2fda9ac38b1464b04a8e7c60bc6ce8c141c723c9e1b8
7
+ data.tar.gz: 316829b117b8b6f7b98d6582244e9bf269bc7e0ca59608c93dd50e54b1a10b25c0bed5272ab143d8261fb61349b97bdd236317ed41402710c55a68db2da3bbbd
@@ -14,7 +14,6 @@ module Afterlife
14
14
  def setup
15
15
  # only use the defined AWS_PROFILE if its not already been defined
16
16
  repo.env.set(
17
- 'AWS_PROFILE' => Afterlife.current_stage.profile,
18
17
  'AWS_BUCKET' => Afterlife.current_stage.bucket,
19
18
  'AWS_REGION' => Afterlife.current_stage.region,
20
19
  )
@@ -40,6 +40,8 @@ module Afterlife
40
40
  'CURRENT_BRANCH' => Afterlife.current_repo.current_branch,
41
41
  'AFTERLIFE_STAGE' => Afterlife.current_stage.name,
42
42
  )
43
+ # IN CI we dont need an AWS_PROFILE and setting it causes aws s3 sync to fail
44
+ Afterlife.current_repo.env.set!('AWS_PROFILE' => Afterlife.current_stage.profile) unless ENV['CI']
43
45
  end
44
46
  end
45
47
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Afterlife
4
- VERSION = '1.7.0'
4
+ VERSION = '1.7.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: afterlife
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genaro Madrid
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-21 00:00:00.000000000 Z
11
+ date: 2024-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor