Skip to content

Commit 3947723

Browse files
authored
Merge pull request #31 from hydephp/release/v0.2.1
HydeCLI v0.2.1
2 parents 0146862 + 44543bb commit 3947723

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/publish-release.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ jobs:
8282
name: checksum
8383
path: builds/checksum.txt
8484

85+
- name: Upload the version number artifact
86+
uses: actions/upload-artifact@v3
87+
with:
88+
name: version
89+
path: version
90+
8591
release:
8692
needs: build
8793
runs-on: ubuntu-latest
@@ -103,11 +109,15 @@ jobs:
103109
name: checksum
104110
path: builds
105111

106-
- name: Get build version
107-
run: echo "version=$(php ./bin/get-release-version.php)" >> $GITHUB_ENV
112+
- name: Download the version number artifact
113+
uses: actions/download-artifact@v3
114+
with:
115+
name: version
108116

109117
- name: Prepare version information
110-
run: echo "CHECKSUM=$(cat builds/checksum.txt | cut -d ' ' -f 1)" >> $GITHUB_ENV
118+
run: |
119+
echo "CHECKSUM=$(cat builds/checksum.txt | cut -d ' ' -f 1)" >> $GITHUB_ENV
120+
echo "VERSION=$(cat version)" >> $GITHUB_ENV
111121
112122
- name: Print version information
113123
run: |

app/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Application extends \Hyde\Foundation\Application
88
{
9-
final public const APP_VERSION = '0.2.0';
9+
final public const APP_VERSION = '0.2.1';
1010

1111
public function getCachedPackagesPath(): string
1212
{

0 commit comments

Comments
 (0)