Skip to content

Commit

Permalink
Merge pull request #9 from cewert/fix-workflow2
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Feb 10, 2024
2 parents bfa253c + fd7cdb4 commit 9e8d5a8
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: "Create PR to bump version"

env:
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}

on:
workflow_dispatch:
branches:
Expand All @@ -24,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Setup
- name: Debug
- name: DEBUG
run: echo ${{ github.event.inputs.versionType }}
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand Down Expand Up @@ -61,6 +58,8 @@ jobs:
run: sed -i "s/VERSION := .*/VERSION := ${{ env.newVersion }}/g" Makefile
# Create PR
- name: Create PR with new version
env:
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
run: |-
git config user.name "jellyfin-bot"
git config user.email "[email protected]"
Expand All @@ -73,6 +72,8 @@ jobs:
runs-on: ubuntu-latest
steps:
# Setup
- name: DEBUG
run: echo ${{ github.event.inputs.versionType }}
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install jq to update json
Expand Down Expand Up @@ -110,6 +111,8 @@ jobs:
run: sed -i "s/VERSION := .*/VERSION := ${{ env.newVersion }}/g" Makefile
# Create PR
- name: Create PR with new version
env:
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
run: |-
git config user.name "jellyfin-bot"
git config user.email "[email protected]"
Expand All @@ -123,6 +126,8 @@ jobs:
runs-on: ubuntu-latest
steps:
# Setup
- name: DEBUG
run: echo ${{ github.event.inputs.versionType }}
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install jq to update json
Expand Down Expand Up @@ -162,6 +167,8 @@ jobs:
run: sed -i "s/VERSION := .*/VERSION := ${{ env.newVersion }}/g" Makefile
# Create PR
- name: Create PR with new version
env:
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
run: |-
git config user.name "jellyfin-bot"
git config user.email "[email protected]"
Expand Down

0 comments on commit 9e8d5a8

Please sign in to comment.