Skip to content

Commit

Permalink
Use testing tag in grav (RC1), release script should work with pre-re…
Browse files Browse the repository at this point in the history
…leases, too
  • Loading branch information
mahagr committed Oct 5, 2021
1 parent 66d75b4 commit 16a78ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:

jobs:
build:
if: "github.repository == 'gantry/gantry5' && !github.event.release.prerelease"
if: "github.repository == 'gantry/gantry5'"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Extract Tag
run: echo "PACKAGE_VERSION=${{ github.ref }}" >> $GITHUB_ENV
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -46,6 +48,7 @@ jobs:
file_glob: true

# TODO: Release should also trigger updating of master with prod-versions update
# if: "!github.event.release.prerelease"

# slack:
# name: Slack
Expand Down
3 changes: 2 additions & 1 deletion platforms/grav/gantry5/blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Gantry 5 Framework
version: '@version@'
description: Theme framework.
description: Gantry 5 Theme framework
icon: gantry
author:
name: RocketTheme
Expand All @@ -11,6 +11,7 @@ readme: 'https://github.com/gantry/gantry5/blob/master/README.md'
keywords: gantry, gantry5, theme, framework
bugs: 'https://github.com/gantry/gantry5/issues'
license: MIT
testing: true
dependencies:
- { name: grav, version: '>=1.7.22' }
- { name: admin, version: '>=1.10.22' }
Expand Down

0 comments on commit 16a78ea

Please sign in to comment.