Skip to content

Commit

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

Feature/automatic releases
  • Loading branch information
acelaya authored Nov 1, 2020
2 parents 38acb27 + f3b26a9 commit aae5dc4
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 188 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
test export-ignore
test-resources export-ignore
.github export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.phpstorm.meta.php 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"
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,15 @@ jobs:
include:
- name: "CI - 8.0"
php: 'nightly'
env:
- COMPOSER_FLAGS='--ignore-platform-reqs'
- name: "CI - 7.4"
php: '7.4'
env:
- COMPOSER_FLAGS=''

before_install:
- phpenv config-rm xdebug.ini || return 0

install:
- composer self-update
- composer install --no-interaction --prefer-dist $COMPOSER_FLAGS
- composer install --no-interaction --prefer-dist

script:
- mkdir build
Expand Down
Loading

0 comments on commit aae5dc4

Please sign in to comment.