From a5b76534fd2d3f787d480c4a15edeed8cb0ea199 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Sat, 26 Mar 2022 17:43:41 +0400 Subject: [PATCH 1/2] Bumped version to 0.4.9. Signed-off-by: Pavel Kirilin --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6e31f9f..fb455c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2384,7 +2384,7 @@ dependencies = [ [[package]] name = "rustus" -version = "0.4.8" +version = "0.4.9" dependencies = [ "actix-files", "actix-rt", diff --git a/Cargo.toml b/Cargo.toml index 33db9d7..410b1e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustus" -version = "0.4.8" +version = "0.4.9" edition = "2021" description = "TUS protocol implementation written in Rust." keywords = [ From a987d643644d0f47697bb6c34eb6d1cf0ecc6780 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Sat, 26 Mar 2022 19:14:50 +0400 Subject: [PATCH 2/2] Updated helm publishing action. (#65) Signed-off-by: Pavel Kirilin --- .github/workflows/release.yml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5767480..d193a7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -126,25 +126,19 @@ jobs: file: deploy/Dockerfile tags: s3rius/rustus:latest,s3rius/rustus:${{env.APP_VERSION}} - release_helm: + upload_helm: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - name: Install Helm - uses: azure/setup-helm@v1 - with: - version: v3.7.1 - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.3.0 + - uses: actions/checkout@v2 + - name: Export version + run: echo "APP_VERSION=$(head -n 5 Cargo.toml | grep version | cut -d '"' -f2)" >> $GITHUB_ENV + - name: Publish Helm charts + uses: stefanprodan/helm-gh-pages@master with: - charts_dir: ./deploy - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + token: ${{ secrets.GITHUB_TOKEN }} + charts_dir: deploy + target_dir: helm_releases + app_version: ${{env.APP_VERSION}} publish_crate: runs-on: ubuntu-latest