Skip to content

Commit

Permalink
Merge pull request shlinkio#15 from acelaya-forks/feature/automatic-r…
Browse files Browse the repository at this point in the history
…eleases

Added automatic releases
  • Loading branch information
acelaya authored Nov 1, 2020
2 parents 5f98439 + 483516e commit 1687aef
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 90 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.github export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.scrutinizer.yml export-ignore
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish release

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Publish release
uses: docker://antonyurchenko/git-release:latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ALLOW_TAG_PREFIX: "true"
128 changes: 43 additions & 85 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,163 +4,121 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).

## [Unreleased]

#### Added

* *Nothing*

#### Changed
## [1.6.0] - 2020-11-01
### Added
* Explicitly added PHP 8 as a supported PHP version.

### Changed
* Added PHP 8 to the build matrix, allowing failures on it.

#### Deprecated

### Deprecated
* *Nothing*

#### Removed

### Removed
* *Nothing*

#### Fixed

### Fixed
* *Nothing*


## 1.5.0 - 2020-06-28

#### Added

## [1.5.0] - 2020-06-28
### Added
* Added support for Guzzle 7.

#### Changed

### Changed
* *Nothing*

#### Deprecated

### Deprecated
* *Nothing*

#### Removed

### Removed
* *Nothing*

#### Fixed

### Fixed
* *Nothing*


## 1.4.0 - 2020-02-15

#### Added

## [1.4.0] - 2020-02-15
### Added
* Updated to PHPUnit 9.

#### Changed

### Changed
* *Nothing*

#### Deprecated

### Deprecated
* *Nothing*

#### Removed

### Removed
* *Nothing*

#### Fixed

### Fixed
* *Nothing*


## 1.3.0 - 2020-01-03

#### Added

## [1.3.0] - 2020-01-03
### Added
* *Nothing*

#### Changed

### Changed
* [#6](https://github.com/shlinkio/shlink-test-utils/issues/6) API tests will now perform API requests to v2 endpoints.
* [#8](https://github.com/shlinkio/shlink-test-utils/issues/8) Updated coding-standard (v2.1) and phpstan (v0.12) dependencies.

#### Deprecated

### Deprecated
* *Nothing*

#### Removed

### Removed
* [#7](https://github.com/shlinkio/shlink-test-utils/issues/7) Dropped support for PHP 7.2 and 7.3

#### Fixed

### Fixed
* *Nothing*


## 1.2.0 - 2019-11-30

#### Added

## [1.2.0] - 2019-11-30
### Added
* Updated dependencies.

#### Changed

### Changed
* *Nothing*

#### Deprecated

### Deprecated
* *Nothing*

#### Removed

### Removed
* *Nothing*

#### Fixed

### Fixed
* *Nothing*


## 1.1.0 - 2019-11-21

#### Added

## [1.1.0] - 2019-11-21
### Added
* Improved `ApiTestCase::getJsonResponsePayload` so that it throws an error if provided response's body could not be parsed.

#### Changed

### Changed
* *Nothing*

#### Deprecated

### Deprecated
* *Nothing*

#### Removed

### Removed
* *Nothing*

#### Fixed

### Fixed
* *Nothing*


## 1.0.0 - 2019-08-11

#### Added

## [1.0.0] - 2019-08-11
### Added
* First release

#### Changed

### Changed
* *Nothing*

#### Deprecated

### Deprecated
* *Nothing*

#### Removed

### Removed
* *Nothing*

#### Fixed

### Fixed
* *Nothing*
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
}
],
"require": {
"php": "^7.4",
"php": "^7.4 || ^8.0",
"ext-json": "*",
"doctrine/data-fixtures": "^1.4",
"doctrine/orm": "^2.7",
"fig/http-message-util": "^1.1",
"guzzlehttp/guzzle": "^7.0 || ^6.5.1",
"phpunit/phpunit": "^9.0",
"phpunit/phpunit": "^9.4",
"symfony/process": "^5.0"
},
"require-dev": {
"phpstan/phpstan": "^0.12.3",
"phpstan/phpstan": "^0.12.52",
"roave/security-advisories": "dev-master",
"shlinkio/php-coding-standard": "~2.1.0"
"shlinkio/php-coding-standard": "~2.1.1"
},
"autoload": {
"psr-4": {
Expand All @@ -38,7 +38,7 @@
],
"cs": "phpcs",
"cs:fix": "phpcbf",
"stan": "phpstan analyse src --level=6"
"stan": "phpstan analyse src --level=7"
},
"scripts-descriptions": {
"ci": "<fg=blue;options=bold>Alias for \"cs\" and \"stan\"</>",
Expand Down

0 comments on commit 1687aef

Please sign in to comment.