Skip to content

Commit 77c2d88

Browse files
authored
chore: checkout corresponding branch instead of commit (#476)
1 parent e5e647c commit 77c2d88

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: codebuild/release/prod-release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
version: 0.2
22

33
env:
4-
variables:
5-
BRANCH: "master"
64
secrets-manager:
75
TWINE_USERNAME: PyPiAdmin:username
86
TWINE_PASSWORD: PyPiAdmin:password
@@ -16,6 +14,7 @@ phases:
1614
python: latest
1715
pre_build:
1816
commands:
17+
- git fetch origin $COMMIT_ID:$COMMIT_ID --depth=1
1918
- git checkout $COMMIT_ID
2019
- FOUND_VERSION=$(sed -n 's/__version__ = "\(.*\)"/\1/p' src/aws_encryption_sdk/identifiers.py)
2120
- |

Diff for: codebuild/release/test-release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
version: 0.2
22

33
env:
4-
variables:
5-
BRANCH: "master"
64
secrets-manager:
75
TWINE_USERNAME: TestPyPiCryptoTools:username
86
TWINE_PASSWORD: TestPyPiCryptoTools:password
@@ -16,6 +14,7 @@ phases:
1614
python: latest
1715
pre_build:
1816
commands:
17+
- git fetch origin $COMMIT_ID:$COMMIT_ID --depth=1
1918
- git checkout $COMMIT_ID
2019
- FOUND_VERSION=$(sed -n 's/__version__ = "\(.*\)"/\1/p' src/aws_encryption_sdk/identifiers.py)
2120
- |

0 commit comments

Comments
 (0)