From e66df9984208557ca94a7335cc72ffd0e70da992 Mon Sep 17 00:00:00 2001 From: Stephen Moore Date: Wed, 11 Sep 2024 19:41:53 +0100 Subject: [PATCH] Release 0.1.9a This is an unofficial release. Changes: - Fix: Uses libbyapp.com domain rather than svc.overdrive.com which fixes ping/libby-calibre-plugin#33 - Fix: Applied spicefather's fix for date time formats (see ping/libby-calibre-plugin#17) Also includes unreleased changes by ping including the following - New: Rename a card - Fix: Use a regex validator instead of input mask for Libby setup code due to wonkiness, ref #14 --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 33 ++++++++++++++++++++++++--------- CHANGELOG.md | 7 ++++++- 3 files changed, 32 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74e3b62..6dcb297 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true fetch-depth: 1 @@ -39,7 +39,7 @@ jobs: - name: Shorten GITHUB_SHA run: echo "github_short_sha=${GITHUB_SHA::7}" >> $GITHUB_ENV - name: Upload plugin - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: overdrive-libby-plugin-${{ env.github_short_sha }} path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5d491d..b48f5e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,12 @@ on: jobs: tag-zip: runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + repository-projects: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true fetch-depth: 1 @@ -19,11 +23,22 @@ jobs: run: | cd .github/workflows sh build_translations.sh - - name: Upload plugin - uses: actions/upload-artifact@v3 - with: - name: overdrive-libby-plugin-${{ github.ref_name }} - path: | - calibre-plugin/ - !calibre-plugin/translations/*.po - !calibre-plugin/translations/*.pot + +# - name: Upload plugin +# uses: actions/upload-artifact@v3 +# with: +# name: overdrive-libby-plugin-${{ github.ref_name }} +# path: | +# calibre-plugin/ +# !calibre-plugin/translations/*.po +# !calibre-plugin/translations/*.pot + + - name: Release plugin + env: + GH_TOKEN: ${{ github.token }} + run: | + cd calibre-plugin + zip -r overdrive-libby-plugin-${{ github.ref_name }}.zip * -x translations/*.po -x translations/*.pot + gh release create ${{ github.ref_name }} overdrive-libby-plugin-${{ github.ref_name }}.zip -t "Release ${{ github.ref_name }}" --notes-from-tag + + diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cc73e8..4dff0fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog -Unreleased +Version 0.1.9a - 2024-09-11 Unoffical version +- Fix: Uses libbyapp.com domain rather than svc.overdrive.com which fixes https://github.com/ping/libby-calibre-plugin/issues/33 +- Fix: Applied spicefather's fix for date time formats (see https://github.com/ping/libby-calibre-plugin/pull/17) + +Also includes unreleased changes by ping including the following + - New: Rename a card - Fix: Use a regex validator instead of input mask for Libby setup code due to wonkiness, ref #14