From 7ccb559a7363dbd0cc263468453f763319a92ba7 Mon Sep 17 00:00:00 2001 From: Richard Hao Date: Tue, 10 Oct 2023 10:24:57 -0500 Subject: [PATCH 1/2] Revert "release(version): Bump to v0.4.1 (#35)" (#36) This reverts commit e06938912f0b25a2f28b16ac9df23c980f42c23d. --- Cargo.lock | 2 +- Cargo.toml | 2 +- build/version | 2 +- docs/CHANGELOG.md | 6 ------ docs/LATEST_CHANGELOG.md | 7 ++++--- 5 files changed, 7 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f37ec72..0f761a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2340,7 +2340,7 @@ dependencies = [ [[package]] name = "sqlite_backup" -version = "0.4.1" +version = "0.4.0" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 9de70bd..796e97d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlite_backup" -version = "0.4.1" +version = "0.4.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/build/version b/build/version index 5aff472..fb7a04c 100644 --- a/build/version +++ b/build/version @@ -1 +1 @@ -v0.4.1 +v0.4.0 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 4ed2986..c9e3d32 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,12 +2,6 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - -## v0.4.1 - 2023-10-10 -#### Bug Fixes -- build docker image on tags created (#34) - (80feb5c) - Richard Hao - -- - - - ## v0.4.0 - 2023-10-10 #### Features - beauty the log (#32) - (2d6cfe0) - Richard Hao diff --git a/docs/LATEST_CHANGELOG.md b/docs/LATEST_CHANGELOG.md index c688dde..7394fc1 100644 --- a/docs/LATEST_CHANGELOG.md +++ b/docs/LATEST_CHANGELOG.md @@ -1,7 +1,8 @@ -#### Bug Fixes -- 80feb5cab1311dd0fdd453c113ce983a92c7b552 - build docker image on tags created (#34) - Richard Hao +#### Features +- 2d6cfe0b728fa143924270117c026ff4e0c23e6e - beauty the log (#32) - Richard Hao #### Miscellaneous Chores -- f2ead3edb4741c12cb48475ea8caedc8c7ccc33f - **(version)** v0.4.1 - release-bot +- 9906651c1be9eed8a339a23f44cf6ec8645a0047 - **(deps)** bump tokio from 1.32.0 to 1.33.0 (#31) - dependabot[bot] +- 9055ac253dbd32822f86fac15641aaceba6a1e68 - **(version)** v0.4.0 - release-bot From f8d25324d98b3da5282c2a45ebebde8b8583b694 Mon Sep 17 00:00:00 2001 From: Richard Hao Date: Tue, 10 Oct 2023 23:45:26 +0800 Subject: [PATCH 2/2] fix(ci): able to trigger workflow within a workflow https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow --- .github/workflows/docker.yml | 2 -- .github/workflows/release.yml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 852dce7..01381ef 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,7 +2,6 @@ name: Build docker image on: workflow_dispatch: - create: push: tags: - "v*.*.*" @@ -14,7 +13,6 @@ permissions: jobs: build: - if: ${{ startsWith(github.ref, 'refs/tags/') }} name: build and publish docker image runs-on: ubuntu-latest steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07104dc..88b39d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,3 +28,4 @@ jobs: with: body_path: ./docs/LATEST_CHANGELOG.md tag_name: ${{ steps.vars.outputs.version }} + token: ${{ secrets.PAT }}