Skip to content

Commit 84b2c33

Browse files
authored
Add S3 release flow & prepare 0.10.4 release (#386)
* Add S3 release flow * Prepare 0.10.4 release * fixup: changelog for RC * Switch changelog over for non-rc 0.10.4 release
1 parent 2698557 commit 84b2c33

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,16 @@ jobs:
9696
target: ${{ matrix.target }}
9797
checksum: sha256
9898
token: ${{ secrets.GITHUB_TOKEN }}
99+
100+
# Auth for the S3 upload
101+
- name: Configure AWS Credentials
102+
uses: aws-actions/configure-aws-credentials@v1-node16
103+
with:
104+
aws-access-key-id: ${{ secrets.LADING_RELEASE_BOT_ACCESS_KEY_ID }}
105+
aws-secret-access-key: ${{ secrets.LADING_RELEASE_BOT_SECRET_ACCESS_KEY }}
106+
aws-region: us-west-2
107+
108+
# Copy from cargo target directory to S3 release bucket
109+
- name: Upload binary to S3
110+
run: |
111+
aws s3 cp target/${{ matrix.target }}/release/lading s3://lading-releases/${{ github.ref_name }}/${{ matrix.target }}/lading

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.10.4] - 2022-11-16
810
### Added
911
- HTTP blackhole can be configured with arbitrary response body, headers and
1012
status code

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77

88
[package]
99
name = "lading"
10-
version = "0.10.3"
10+
version = "0.10.4"
1111
authors = ["Brian L. Troutwine <brian@troutwine.us>"]
1212
edition = "2021"
1313
license = "MIT"

0 commit comments

Comments
 (0)