diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..726ab71 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +custom: ['https://www.paypal.com/paypalme/peppie84'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/CHANGELOG.md b/CHANGELOG.md index b9fa940..bd52fcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] -- currently nothing + + +## [1.3.0.0] - 2023-06-18 +- Added `l10n_pl_.xml` by [dexus92](https://github.com/dexus92) +- Added `l10n_es_.xml` by [Ferchu425](https://github.com/Ferchu425) +- modDesc.xml descVersion update + ## [1.2.0.0] - 2023-06-28 - Added `l10n_hu.xml` by [ZsPetrovics](https://github.com/ZsPetrovics) diff --git a/FS22_ExtendedGameInfoDisplay/modDesc.xml b/FS22_ExtendedGameInfoDisplay/modDesc.xml index 32c9e37..400a914 100644 --- a/FS22_ExtendedGameInfoDisplay/modDesc.xml +++ b/FS22_ExtendedGameInfoDisplay/modDesc.xml @@ -1,15 +1,20 @@ - - - Peppie84 - 1.2.0.0 - - <en>Extended Game Infodisplay</en> - <de>Erweiterte Spiel-Infodarstellung</de> - - + + + Peppie84 + 1.3.0.0 + + <en>Extended Game Infodisplay</en> + <de>Erweiterte Spiel-Infodarstellung</de> + + GitHub. -]]> +]]> GitHub. -]]> - - icon_ExGameInfoDisp.dds - - - - - - - - +]]> + + icon_ExGameInfoDisp.dds + + + + + + + + \ No newline at end of file diff --git a/FS22_ExtendedGameInfoDisplay/translations/l10n_es.xml b/FS22_ExtendedGameInfoDisplay/translations/l10n_es.xml new file mode 100644 index 0000000..6da19d5 --- /dev/null +++ b/FS22_ExtendedGameInfoDisplay/translations/l10n_es.xml @@ -0,0 +1,12 @@ + + + Ferchu425 + + + + + + + + + diff --git a/FS22_ExtendedGameInfoDisplay/translations/l10n_pl.xml b/FS22_ExtendedGameInfoDisplay/translations/l10n_pl.xml new file mode 100644 index 0000000..7d7397f --- /dev/null +++ b/FS22_ExtendedGameInfoDisplay/translations/l10n_pl.xml @@ -0,0 +1,12 @@ + + + dexus + + + + + + + + + diff --git a/README.md b/README.md index 84b4d54..3c55471 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ -
[![FarmingSimulator-22](https://img.shields.io/badge/FarmingSimulator-22-blue?style=flat-square)](https://www.farming-simulator.com/) -[![Modhub Version](https://img.shields.io/badge/Modhub-v1.2.0.0-green?style=flat-square)](https://farming-simulator.com/mod.php?mod_id=267536) +[![Modhub Version](https://img.shields.io/badge/Modhub-v1.3.0.0-green?style=flat-square)](https://farming-simulator.com/mod.php?mod_id=267536) [![GitHub issues](https://img.shields.io/github/issues/Peppie84/FS22_ExtendedGameInfoDisplay?style=flat-square)](https://github.com/Peppie84/FS22_ExtendedGameInfoDisplay/issues) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue?style=flat-square)](https://www.gnu.org/licenses/gpl-3.0) [![Last commit](https://img.shields.io/github/last-commit/Peppie84/FS22_ExtendedGameInfoDisplay?style=flat-square&color=important)](https://github.com/Peppie84/FS22_ExtendedGameInfoDisplay/commits/development) diff --git a/prepare-release.ps1 b/prepare-release.ps1 index 87f08ea..2ea828f 100644 --- a/prepare-release.ps1 +++ b/prepare-release.ps1 @@ -3,9 +3,11 @@ # $modDirectory = Split-Path -Path $pwd -Leaf $modName = "$modDirectory"; +$origModName = $modName $modDescFileName = "$modDirectory/modDesc.xml" $testRunnerLogPath = ".\.testrunner\" $readmeFilePath = "README.md" +$isDevelopmentVersion = 0 $xmlData = [xml] (Get-Content $modDescFileName -Encoding UTF8) $currentVersion = $xmlData.modDesc.version @@ -22,8 +24,17 @@ if ( $newVersion -ne "1.0.0.0" ) $modName = "$($modName)_update" } +$devVersionConfirmation = read-host -Prompt "DEV version? (y/N) " +if ($devVersionConfirmation -eq 'y') { + $currentGitHash = ((git rev-parse --short HEAD) | Out-String).Trim() + $newVersion = "$newVersion-$currentGitHash" + $isDevelopmentVersion = 1 + $modName = "$($origModName)_dev_release" +} + # Write new moddesc version $xmlData = [xml] (Get-Content $modDescFileName -Encoding UTF8) +$backupXmlData = $xmlData.Clone() $xmlData.modDesc.version = "$newVersion" $utf8WithoutBom = New-Object System.Text.UTF8Encoding($false) @@ -35,10 +46,18 @@ $xmlStreamWriter.Close() # Write new readme version ((Get-Content -path $readmeFilePath -Raw) -replace "Modhub-v$currentVersion","Modhub-v$newVersion") | Set-Content -NoNewline -Path $readmeFilePath - # Make test run (add testrunner path to your environment path) New-Item -ItemType Directory -Force -Path "$testRunnerLogPath" TestRunner_public --logPath "$testRunnerLogPath" --outputPath "$testRunnerLogPath" --noPause "$modDirectory\" # Make zip file -Compress-Archive -Force -Path "$modDirectory\*" -DestinationPath "$modName.zip" +7z a -bd -stl -tzip -mx=9 "$modName.zip" "$modDirectory/." + +# Write old moddesc version back if we have a dev version +if ($isDevelopmentVersion -eq '1') { + $utf8WithoutBom = New-Object System.Text.UTF8Encoding($false) + $xmlStreamWriter = New-Object System.IO.StreamWriter($modDescFileName, $false, $utf8WithoutBom) + + $backupXmlData.Save( $xmlStreamWriter ) + $xmlStreamWriter.Close() +}