Skip to content

Commit

Permalink
Release 7.14.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Istiak Ferdous committed Feb 15, 2023
1 parent aa2d1bf commit ada7727
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 1 deletion.
49 changes: 49 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Release

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Create temporary artifact folder
run: mkdir artifacts

- name: Create release artifacts
run: tar -czvf artifacts/phppgadmin-${{ github.ref_name }}.tar.gz classes conf help images js lang libraries plugins themes vendor xloadtree LICENSE *.php *.js robots.txt

- name: Upload artifacts for workflow
uses: actions/upload-artifact@v3
with:
name: artifacts
path: artifacts

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: artifacts/phppgadmin-${{ github.ref_name }}.tar.gz
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
selenium/tests/config.inc.php
tests/selenium/config.test.php
vendor/
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "phppgadmin/phppgadmin",
"description": "phpPgAdmin is a web-based administration tool for PostgreSQL. It is perfect for PostgreSQL DBAs, newbies, and hosting services.",
"type": "application",
"license": "GPL-2.0+",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.4",
"ext-pgsql": "*",
Expand Down
84 changes: 84 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ada7727

Please sign in to comment.