Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: biblys/isbn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.2.7
Choose a base ref
...
head repository: biblys/isbn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 14 commits
  • 6 files changed
  • 3 contributors

Commits on Jan 3, 2025

  1. Create FUNDING.yml

    clemlatz authored Jan 3, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    694b57e View commit details

Commits on Jan 9, 2025

  1. feat: update ISBN ranges

    clemlatz committed Jan 9, 2025
    Copy the full SHA
    377b351 View commit details

Commits on Jan 15, 2025

  1. feat: update ISBN ranges

    clemlatz committed Jan 15, 2025
    Copy the full SHA
    1032b47 View commit details
  2. Copy the full SHA
    1c67261 View commit details
  3. build: add github workflow to create release

    clemlatz committed Jan 15, 2025
    Copy the full SHA
    9abccf3 View commit details
  4. build: fix getting tags in release workflow

    clemlatz committed Jan 15, 2025
    Copy the full SHA
    b66dff9 View commit details
  5. build: set fetch depth to 0 in release workflow

    clemlatz committed Jan 15, 2025
    Copy the full SHA
    4e7d377 View commit details

Commits on Jan 16, 2025

  1. build: stop release script on error

    clemlatz committed Jan 16, 2025
    Copy the full SHA
    f0e99a8 View commit details

Commits on Jan 17, 2025

  1. feat: update ISBN ranges

    clemlatz committed Jan 17, 2025
    Copy the full SHA
    88decab View commit details

Commits on Jan 18, 2025

  1. feat: update ISBN ranges

    clemlatz committed Jan 18, 2025
    Copy the full SHA
    a580e00 View commit details

Commits on Feb 5, 2025

  1. feat: update ISBN ranges

    clemlatz committed Feb 5, 2025
    Copy the full SHA
    11107d1 View commit details

Commits on Feb 7, 2025

  1. chore(deps): update dependency phpunit/phpunit to v12

    renovate[bot] authored and clemlatz committed Feb 7, 2025
    Copy the full SHA
    bac0ab9 View commit details

Commits on Feb 20, 2025

  1. feat: update ISBN ranges

    clemlatz committed Feb 20, 2025
    Copy the full SHA
    2c21897 View commit details

Commits on Feb 26, 2025

  1. feat: update ISBN ranges

    clemlatz committed Feb 26, 2025
    Copy the full SHA
    c33b2a6 View commit details
Showing with 547 additions and 352 deletions.
  1. +15 −0 .github/FUNDING.yml
  2. +29 −0 .github/workflows/release.yml
  3. +7 −6 README.md
  4. +1 −1 composer.json
  5. +474 −325 composer.lock
  6. +21 −20 src/Biblys/Isbn/groups-array.php
15 changes: 15 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: clemlatz
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
thanks_dev: # Replace with a single thanks.dev username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0

- name: Get latest tag
run: echo ::set-output name=tag::$(git describe --tags `git rev-list --tags --max-count=1`)

- name: Bump version
run: |
IFS='.' read -r major minor patch <<< "${{ steps.get_tag.outputs.tag }}"
echo "Current version: $major.$minor.$patch"
echo "Bumping patch version..."
echo "::set-output name=version::$major.$minor.$((patch + 1))"
- name: Create release
run: |
gh release create ${{ steps.bump_version.outputs.version }} --title ${{ steps.bump_version.outputs.version }} --latest --generate-notes
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -166,12 +166,13 @@ composer docker:update-ranges

```shell
read "PR_NUMBER?Pull request number: "
gh pr merge --auto -dr $PR_NUMBER
CURRENT_VERSION=$(git tag --sort=-v:refname | head -n 1)
IFS='.' read -r major minor patch <<< "$CURRENT_VERSION"
NEW_VERSION="$major.$minor.$((patch + 1))"
read "RELEASE_NOTES?Release notes: "
gh release create $NEW_VERSION --title $NEW_VERSION --notes $RELEASE_NOTES
gh pr merge --auto -dr "$PR_NUMBER" \
&& git fetch --tags \
&& CURRENT_VERSION=$(git tag --sort=-v:refname | head -n 1) \
&& IFS='.' read -r major minor patch <<< "$CURRENT_VERSION" \
&& NEW_VERSION="$major.$minor.$((patch + 1))" \
&& read "RELEASE_NOTES?Release notes: " \
&& gh release create "$NEW_VERSION" --title "$NEW_VERSION" --notes "$RELEASE_NOTES"
```


2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
"require-dev": {
"ext-json": "*",
"ext-simplexml": "*",
"phpunit/phpunit": "^6 || ^7 || ^8 || ^11",
"phpunit/phpunit": "^6 || ^7 || ^8 || ^11 || ^12",
"guzzlehttp/guzzle": "^7.0"
},
"autoload": {
Loading