Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Updated release actions to push to correct tag (#77)
Browse files Browse the repository at this point in the history
* updated release actions to push to correct tag

* updated main repo readme to match redisstreams crate
  • Loading branch information
brooksmtownsend authored Jun 3, 2021
1 parent d2a9c81 commit 703661f
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/TEMPLATE_provider-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/fs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/httpclient-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/httpserver-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/logging-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/nats-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/redis-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/redisgraph-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/redisstreams-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/s3-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
3 changes: 2 additions & 1 deletion .github/workflows/telnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
run: |
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
NAME=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
URL=${{secrets.AZURECR_PUSH_URL}}/$NAME:$VERSION
TAGNAME=$(echo $NAME | sed 's/wasmcloud-//')
URL=${{secrets.AZURECR_PUSH_URL}}/$TAGNAME:$VERSION
wash reg push $URL $NAME.par.gz
working-directory: ${{ env.working-directory }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ MIPS-based architectures are not cross-compiled by default because some capabili
| Logging | [![Crates.io](https://img.shields.io/crates/v/wasmcloud-logging)](https://crates.io/crates/wasmcloud-logging) | wasmcloud.azurecr.io/logging |
| NATS | [![Crates.io](https://img.shields.io/crates/v/wasmcloud-nats)](https://crates.io/crates/wasmcloud-nats) | wasmcloud.azurecr.io/nats |
| Redis | [![Crates.io](https://img.shields.io/crates/v/wasmcloud-redis)](https://crates.io/crates/wasmcloud-redis) | wasmcloud.azurecr.io/redis |
| Redis Streams | [![Crates.io](https://img.shields.io/crates/v/wasmcloud-redisstreams)](https://crates.io/crates/wasmcloud-redisstreams) | wasmcloud.azurecr.io/redisstreams |
| Redis Streams | [![Crates.io](https://img.shields.io/crates/v/wasmcloud-streams-redis)](https://crates.io/crates/wasmcloud-streams-redis) | wasmcloud.azurecr.io/streams-redis |
| RedisGraph | [![Crates.io](https://img.shields.io/crates/v/wasmcloud-redisgraph)](https://crates.io/crates/wasmcloud-redisgraph) | wasmcloud.azurecr.io/redisgraph |
| S3 | [![Crates.io](https://img.shields.io/crates/v/wasmcloud-s3)](https://crates.io/crates/wasmcloud-s3) | wasmcloud.azurecr.io/s3 |
| Telnet | [![Crates.io](https://img.shields.io/crates/v/wasmcloud-telnet)](https://crates.io/crates/wasmcloud-telnet) | wasmcloud.azurecr.io/telnet |
Expand Down

0 comments on commit 703661f

Please sign in to comment.