Skip to content

Commit

Permalink
v1.1.6 (#6)
Browse files Browse the repository at this point in the history
* Fix CI

* Fix CI

* Fix CI

* Try to fix CI

* Update CI name

* Update CI

* Update CI

* Fix CI

* Fix CI

* Debug CI

* Update CI

* DEBUG CI

* DEBUG CI

* Remove debug

* Remove debug

---------

Co-authored-by: Nathan JAUNET <[email protected]>
  • Loading branch information
Navino16 and Navino16 authored Oct 9, 2023
1 parent d800788 commit c092661
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 23 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Build, Package & Release

on:
push:
tags:
- '*'
branches: [ main ]

jobs:
build:
Expand Down Expand Up @@ -32,7 +31,6 @@ jobs:
path: build/

package:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: build
steps:
Expand Down Expand Up @@ -60,10 +58,23 @@ jobs:
name: flixpatrol
path: bin/

release:
if: startsWith(github.ref, 'refs/tags/')
tag-new-versions:
runs-on: ubuntu-latest
needs: package
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Create new tag
id: new-tag
uses: salsify/action-detect-and-tag-new-version@v2
outputs:
tag: ${{ steps.new-tag.outputs.tag }}

release:
runs-on: ubuntu-latest
needs: tag-new-versions
steps:
- name: Restore build artifact
uses: actions/download-artifact@v3
Expand All @@ -79,6 +90,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
body: ${{steps.github_release.outputs.changelog}}
name: ${{needs.tag-new-versions.outputs.tag}}
tag_name: ${{needs.tag-new-versions.outputs.tag}}
files: |
bin/flixpatrol-top10-linux
bin/flixpatrol-top10-macos
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/tag.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flixpatrol-top10",
"version": "1.1.4",
"version": "1.1.6",
"description": "Get top10 list from flixpatrol and upload them to trakt",
"main": "app.js",
"scripts": {
Expand Down

0 comments on commit c092661

Please sign in to comment.