Skip to content

Commit 7cf89ad

Browse files
John Spellmannamespacebrian
andauthored
Release 3.0.1 - Fixes #2270 (#2273)
* Change file name in deploy script * Update changelog and version * Additional terminus -> terminus.phar filename corrections * Rename terminus.phar to terminus in package linux job * Update unit tests bin file name Co-authored-by: Brian Weaver <[email protected]>
1 parent 3418568 commit 7cf89ad

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

.github/workflows/3x.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
- name: Phar Build
2323
run: composer phar:build
2424
- name: permissions
25-
run: chmod +x ./terminus
25+
run: chmod +x ./terminus.phar
2626
- name: Save terminus.phar as artifact
2727
uses: actions/upload-artifact@v2
2828
with:
2929
name: terminus-phar
30-
path: terminus
30+
path: terminus.phar
3131
if-no-files-found: error
3232

3333
functional:
@@ -90,7 +90,7 @@ jobs:
9090
- name: Release
9191
uses: softprops/action-gh-release@v1
9292
with:
93-
files: terminus
93+
files: terminus.phar
9494
env:
9595
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9696

@@ -128,7 +128,7 @@ jobs:
128128
- name: Full Composer Install
129129
run: composer install
130130
- name: Prepare needed folder and fix permissions
131-
run: mkdir -p ~/.terminus/cache/tokens && chmod +x ./terminus
131+
run: mkdir -p ~/.terminus/cache/tokens && mv ./terminus.phar ./terminus && chmod +x ./terminus
132132
- name: Passegers, gather ye packages
133133
run: composer bundle:linux
134134
- name: Save terminus deb as artifact

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org)
33

4+
## 3.0.1 - 2021-12-08
5+
6+
### Fixed
7+
- Change file name in deploy script (#2270)
8+
49
## 3.0.0 - 2021-12-08
510

611
### Added

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,13 @@
7676
"build": "@phar:build",
7777
"test": "@test:functional",
7878
"phar:build": [
79-
"rm -Rf ./terminus",
79+
"rm -Rf ./terminus.phar",
8080
"php -d phar.readonly=Off vendor/bin/phar-composer.phar build .",
81-
"mv terminus.phar terminus",
82-
"chmod +x terminus"
81+
"chmod +x terminus.phar"
8382
],
8483
"phar:install": [
8584
"rm -rf /usr/local/bin/terminus || true",
86-
"mv ./terminus /usr/local/bin/terminus"
85+
"mv ./terminus.phar /usr/local/bin/terminus"
8786
],
8887
"phar:update": [
8988
"@phar:build",

config/constants.yml

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

99
# App
10-
TERMINUS_VERSION: '3.0.1-dev'
10+
TERMINUS_VERSION: '3.0.1'
1111

1212
# Connectivity
1313
TERMINUS_HOST: 'terminus.pantheon.io'

tests/config/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
}
4949
}
5050

51-
const TERMINUS_BIN_FILE = './terminus';
51+
const TERMINUS_BIN_FILE = './terminus.phar';
5252
chmod(TERMINUS_BIN_FILE, 0700);
5353

5454
if ($token) {

0 commit comments

Comments
 (0)