Skip to content

Commit

Permalink
Merge pull request #568 from merico-dev/release-0.6
Browse files Browse the repository at this point in the history
fix: upload_assets.sh path error
  • Loading branch information
daniel-hutao authored May 20, 2022
2 parents a6ecd2c + c958e9f commit 6c08a2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automated-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-southeast-1
- name: upload core
run: bash -e ./build/package/upload_assets.sh ${{ secrets.GITHUB_TOKEN }} ${{ env.TAG }} ${{ env.GOOS }} ${{ env.GOARCH }}
run: bash -e ./hack/release/upload_assets.sh ${{ secrets.GITHUB_TOKEN }} ${{ env.TAG }} ${{ env.GOOS }} ${{ env.GOARCH }}
- name: upload plugin
run: aws s3 cp .devstream/ s3://download.devstream.io/${{ env.TAG }}/ --recursive --acl public-read

Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-southeast-1
- name: upload
run: bash -e ./build/package/upload_assets.sh ${{ secrets.GITHUB_TOKEN }} ${{ env.TAG }} ${{ env.GOOS }} ${{ env.GOARCH }}
run: bash -e ./hack/release/upload_assets.sh ${{ secrets.GITHUB_TOKEN }} ${{ env.TAG }} ${{ env.GOOS }} ${{ env.GOARCH }}
- name: upload plugin
run: aws s3 cp .devstream/ s3://download.devstream.io/${{ env.TAG }}/ --recursive --acl public-read

2 changes: 1 addition & 1 deletion internal/pkg/statemanager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func NewManager(stateConfig configloader.State) (Manager, error) {
log.Debugf("The global manager m is not initialized.")

if stateConfig.Backend == "local" {
log.Infof("Using local backend: %s.", stateConfig.Options.StateFile)
log.Infof("Using local backend. State file: %s.", stateConfig.Options.StateFile)
} else if stateConfig.Backend == "s3" {
log.Infof("Using s3 backend. Bucket: %s, region: %s, key: %s.", stateConfig.Options.Bucket, stateConfig.Options.Region, stateConfig.Options.Key)
}
Expand Down

0 comments on commit 6c08a2c

Please sign in to comment.