Skip to content

Commit

Permalink
Merge branch 'main' into feature/scotty
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Huber committed Nov 5, 2024
2 parents b0f245c + 47175d2 commit 2b0b96d
Show file tree
Hide file tree
Showing 11 changed files with 541 additions and 141 deletions.
98 changes: 49 additions & 49 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,61 +9,61 @@
name: Create phar and release

on:
push:
tags:
- '*'
push:
tags:
- "*"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: intl, zip, zlib
coverage: none
ini-values: memory_limit=1G, phar.readonly=0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
extensions: intl, zip, zlib
coverage: none
ini-values: memory_limit=1G, phar.readonly=0

- name: Install Project Dependencies
run: composer install --prefer-dist --no-interaction --no-ansi --no-progress --no-suggest
- name: Install Project Dependencies
run: composer install --prefer-dist --no-interaction --no-ansi --no-progress --no-suggest

- name: Install Box
run: |
wget \
"https://github.com/humbug/box/releases/download/3.16.0/box.phar" \
--quiet \
-O ./box
chmod +x ./box
sudo mv ./box /usr/local/bin
- name: Build Application PHAR
run: git describe && composer build-phar
- name: Install Box
run: |
wget \
"https://github.com/humbug/box/releases/download/4.6.2/box.phar" \
--quiet \
-O ./box
chmod +x ./box
sudo mv ./box /usr/local/bin
- name: Build Application PHAR
run: git describe && composer build-phar

- name: Geting Tag Name
id: get-version
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/}
- name: Getting Tag Name
id: get-version
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/}

- name: Self-Test
run: ./build/phabalicious.phar --version
- name: Self-Test
run: ./build/phabalicious.phar --version

- name: Create Release
uses: ncipollo/release-action@v1
with:
# This token is provided by GitHub Actions.
# You DO NOT need to create your own token.
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.get-version.outputs.version }}
tag: ${{ steps.get-version.outputs.version }}
body: 'Next stable release.'
# This will update existing tags if any
allowUpdates: true
artifacts: ./build/phabalicious.phar
artifactContentType: application/x-php
- name: Create Release
uses: ncipollo/release-action@v1
with:
# This token is provided by GitHub Actions.
# You DO NOT need to create your own token.
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.get-version.outputs.version }}
tag: ${{ steps.get-version.outputs.version }}
body: "Next stable release."
# This will update existing tags if any
allowUpdates: true
artifacts: ./build/phabalicious.phar
artifactContentType: application/x-php
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
node = "22"
2 changes: 1 addition & 1 deletion .versionrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"bumpFiles": [
{
"filename": "src/Utilities/Utilities.php",
"updater": "utilities-updater.js"
"updater": "utilities-updater.cjs"
},
{
"filename": "package.json",
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [4.0.0-alpha.2](https://github.com/factorial-io/phabalicious/compare/4.0.0-alpha.1...4.0.0-alpha.2) (2024-11-05)


### Bug Fixes

* Fix crahs doing blueprint resolution ([35b02ce](https://github.com/factorial-io/phabalicious/commit/35b02ce42175eafde6346998189506869e114142))

## [4.0.0-alpha.1](https://github.com/factorial-io/phabalicious/compare/4.0.0-alpha.0...4.0.0-alpha.1) (2024-11-05)

## [4.0.0-alpha.0](https://github.com/factorial-io/phabalicious/compare/3.8.33...4.0.0-alpha.0) (2024-11-05)

### Breaking changes

* Requires 8.1 or higher
* Uses Symfony 5.x
* Upgrade dependencies
* Remove deprecated code

### [3.8.33](https://github.com/factorial-io/phabalicious/compare/3.8.32...3.8.33) (2024-10-25)


Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"ext-posix": "*",
"twig/string-extra": "^3.7",
"defuse/php-encryption": "^2.3",
"consolidation/self-update": "^2.0",
"consolidation/self-update": "^3.0",
"webmozart/assert": "^1.11"
},
"require-dev": {
Expand Down
Loading

0 comments on commit 2b0b96d

Please sign in to comment.