Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,16 @@ jobs:
- name: List artifacts
run: ls -R artifacts

- name: Flatten artifact directory structure
run: |
set -e
echo "Flattening artifact directory structure..."
find artifacts -name "*.exe" -type f -exec mv -n {} artifacts/ \;
echo "Removing empty subdirectories..."
find artifacts -mindepth 1 -type d -delete || echo "Warning: Failed to delete some subdirectories in artifacts/ - this may indicate remaining files or permission issues"
echo "Flattened artifacts directory:"
ls -la artifacts/

- name: Checkout repository for tagging
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -298,7 +308,7 @@ jobs:
tag_name: ${{ needs.prepare.outputs.version }}
name: win-witr ${{ needs.prepare.outputs.version }}
body: ${{ needs.prepare.outputs.notes }}
files: artifacts/**/*.exe
files: artifacts/*.exe
draft: false
prerelease: true
env:
Expand Down
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <iomanip>
#include <sstream>
#include <ctime>
#include <algorithm>
#include <algorithm>

#define windows_time_to_unix_epoch(x) ((x) - 116444736000000000LL) / 10000000LL
// The above macro converts Windows FILETIME to Unix epoch time in seconds.
Expand Down