Skip to content

Commit

Permalink
Fix: Github files
Browse files Browse the repository at this point in the history
  • Loading branch information
louanfontenele committed Dec 29, 2024
1 parent f2e9019 commit 996b96b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
8 changes: 6 additions & 2 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tag-template: "v${{ nextReleaseVersion }}"
version-template: ${{ nextReleaseVersion }}

categories:
- title: "🚀 New Features"
- title: "🚀 Features"
labels:
- "feature"
- title: "🐛 Bug Fixes"
Expand All @@ -19,9 +19,13 @@ categories:

change-template: "- $TITLE by @$AUTHOR in #$NUMBER"

# Capture direct commits (without PR)
no-labels-merge-method: "title"
no-labels-template: "- $TITLE (commit: [`$SHORT_SHA`](https://github.com/{{github.repository}}/commit/$FULL_SHA))"
no-labels-template: "- $TITLE (commit: [`$SHORT_SHA`](https://github.com/${{ github.repository }}/commit/$FULL_SHA))"

template: |
## What's Changed
$CHANGES
## 📦 Full Changelog
[Compare Changes](https://github.com/${{ github.repository }}/compare/${{ previousTag | default: 'N/A' }}...${{ currentTag | default: 'N/A' }})
15 changes: 3 additions & 12 deletions .github/workflows/release-windows-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0 # Ensures all tags are fetched
fetch-depth: 0 # Fetch all existing tags

- name: Setup .NET
uses: actions/setup-dotnet@v3
Expand All @@ -32,15 +32,6 @@ jobs:
- name: Create Zip Archive
run: zip -r release.zip release/

# Grant execute permission to the changelog script
- name: Give Execution Permission to Script
run: chmod +x .github/scripts/generate-changelog.sh

# Run the script to generate changelog
- name: Generate Changelog
run: |
.github/scripts/generate-changelog.sh
# Set Git user identity to avoid committer identity issues
- name: Set Git User Identity
run: |
Expand Down Expand Up @@ -79,7 +70,7 @@ jobs:
with:
tag: ${{ env.tag }}
name: "Release ${{ env.tag }}"
body_path: ./changelog.md # Uses the generated changelog
body_path: ./changelog.md
artifacts: "release.zip"
draft: false
draft: false # Ensure release is published, not draft
prerelease: false
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Alternatively, you can open the `.sln` file in Visual Studio and run the project
## 🕹️ How to Use

1. Run the application.
2. When prompted, enter the path to the Factorio save file you wish to modify (e.g., `C:\Users\Username\AppData\Roaming\Factorio\saves\mysave.zip`).
2. When prompted, enter the path to the Factorio save file you wish to modify (e.g., `%appdata%\Factorio\saves\MyFactorioSave.zip`).
3. The program will extract, modify, and repack the save file.
4. A backup of the original save will be created with the `.bak` extension.

Expand Down

0 comments on commit 996b96b

Please sign in to comment.