Skip to content

Commit

Permalink
Update develop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 authored Jun 10, 2024
1 parent 0f1d95a commit ac70fa0
Showing 1 changed file with 9 additions and 23 deletions.
32 changes: 9 additions & 23 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,16 @@ jobs:
id: project-version
uses: 'euberdeveloper/ga-project-version@main'

- name: Increase patch version by 1
id: increase-patch-version
run: |
$currentVersion = "${{ steps.project-version.outputs.version }}"
$versionArray = $currentVersion -split '\.'
$patchVersion = [int]$versionArray[2] + 1
$newVersion = "$($versionArray[0]).$($versionArray[1]).$patchVersion"
Write-Output "::set-output name=patch_version::$newVersion"
- name: Set Git user email and name
run: |
git config --global user.email "[email protected]"
git config --global user.name "Cameron"
- name: 'change version'
uses: reedyuk/[email protected]
- name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: ${{ steps.patch-version.outputs.patch_version }}
git-tag-version: 'true'
commit-message: 'CI: bumps version to {{version}} [skip ci]'

- name: Get version of the project
id: project-version-after
uses: 'euberdeveloper/ga-project-version@main'

- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
Expand All @@ -73,10 +63,6 @@ jobs:
run: npm run electron:package:win
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get version of the project
id: project-version-after
uses: 'euberdeveloper/ga-project-version@main'

- name: Get latest release number
id: get_latest_release
Expand Down

0 comments on commit ac70fa0

Please sign in to comment.