mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Change name of .exe file
This commit is contained in:
parent
7a92fa773f
commit
3ffcddcc5a
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -31,10 +31,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Create archive
|
- name: Create archive
|
||||||
run:
|
run:
|
||||||
Compress-Archive -Path .\dist\dcs_liberation\ -DestinationPath
|
Compress-Archive -Path .\dist\dcs-retribution\ -DestinationPath
|
||||||
dist\dcs_liberation.zip
|
dist\dcs-retribution.zip
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: dcs_liberation
|
name: dcs-retribution
|
||||||
path: dist/dcs_liberation.zip
|
path: dist/dcs-retribution.zip
|
||||||
|
|||||||
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: dcs_liberation
|
name: dcs-retribution
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
release:
|
release:
|
||||||
@ -44,7 +44,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: dcs_liberation
|
name: dcs-retribution
|
||||||
|
|
||||||
- name: "Get Version"
|
- name: "Get Version"
|
||||||
id: version
|
id: version
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
$changelog = Get-Content .\changelog.md
|
$changelog = Get-Content .\changelog.md
|
||||||
$last_change = ($changelog | Select-String -Pattern "^#\s" | Select-Object -Skip 1 -First 1).LineNumber - 2
|
$last_change = ($changelog | Select-String -Pattern "^#\s" | Select-Object -Skip 1 -First 1).LineNumber - 2
|
||||||
($changelog | Select-Object -First $last_change) -join "`n" | Out-File .\releasenotes.md
|
($changelog | Select-Object -First $last_change) -join "`n" | Out-File .\releasenotes.md
|
||||||
Compress-Archive -Path .\dcs_liberation -DestinationPath "dcs_liberation.$version.zip" -Compression Optimal
|
Compress-Archive -Path .\dcs-retribution -DestinationPath "dcs-retribution.$version.zip" -Compression Optimal
|
||||||
|
|
||||||
- uses: actions/create-release@v1
|
- uses: actions/create-release@v1
|
||||||
id: create_release
|
id: create_release
|
||||||
@ -79,6 +79,6 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./dcs_liberation.${{ steps.version.outputs.number }}.zip
|
asset_path: ./dcs-retribution.${{ steps.version.outputs.number }}.zip
|
||||||
asset_name: dcs_liberation.${{ steps.version.outputs.number }}.zip
|
asset_name: dcs-retribution.${{ steps.version.outputs.number }}.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|||||||
@ -32,7 +32,7 @@ exe = EXE(
|
|||||||
[],
|
[],
|
||||||
icon="resources/icon.ico",
|
icon="resources/icon.ico",
|
||||||
exclude_binaries=True,
|
exclude_binaries=True,
|
||||||
name='liberation_main',
|
name='retribution_main',
|
||||||
debug=False,
|
debug=False,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
@ -46,5 +46,5 @@ coll = COLLECT(
|
|||||||
analysis.datas,
|
analysis.datas,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
name='dcs_liberation',
|
name='dcs-retribution',
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user