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 8415887 commit 06c242a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


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

- name: Rename file
run: |
$old_name = Get-ChildItem -Path dist -Filter 'LinguifAI Setup*.exe' | Select-Object -ExpandProperty Name
$new_name = "LinguifAI Setup ${{ env.NEW_VERSION }}.exe"
$new_name = "LinguifAI Setup ${{ steps.project-version-after.outputs.version }}.exe"
Rename-Item -Path "dist\$old_name" -NewName $new_name
- name: Create Release
Expand Down

0 comments on commit 06c242a

Please sign in to comment.