From 6dde1ad012d49004e91ef947142d1ca609d4ca1a Mon Sep 17 00:00:00 2001 From: tokox Date: Wed, 27 Mar 2024 09:49:21 +0100 Subject: [PATCH] Allow rereleases --- .github/workflows/release.yml | 2 ++ cpp-json.spec | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d025252..76117fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,6 +75,7 @@ jobs: - name: Create release uses: ncipollo/release-action@v1.14.0 with: + allowUpdates: true name: Release ${{ github.ref_name }} bodyFile: changelog.md tag: ${{ github.ref_name }} @@ -115,6 +116,7 @@ jobs: - name: Upload assets uses: ncipollo/release-action@v1.14.0 with: + replacesArtifacts: true allowUpdates: true artifactErrorsFailBuild: true artifacts: assets/*.rpm diff --git a/cpp-json.spec b/cpp-json.spec index cc7c396..adee73e 100644 --- a/cpp-json.spec +++ b/cpp-json.spec @@ -36,12 +36,14 @@ cp -a LICENSE.md README.md %{buildroot}/usr/share/doc/tokox/cpp-json %doc /usr/share/doc/tokox/cpp-json/README.md %changelog -* Wed Mar 20 2024 Tomasz Kośnikowski (tokox) - 1.2-2 - - Updated README - * Tue Mar 19 2024 Tomasz Kośnikowski (tokox) - 1.2-1 - Replaced std::variant with std::any - improved object class + + Patches: + - 1.2-2: + - Updated README + * Sun Mar 10 2024 Tomasz Kośnikowski (tokox) - 1.1-1 - Wrapped everything in tokox namespace and reformated code