Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
halgari authored Dec 3, 2024
1 parent 1e35065 commit e0137f9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- name: Download NexusMods.Archives.Nx Repository
run: |
git clone https://github.com/Nexus-Mods/NexusMods.Archives.Nx.git
- name: Set Up .NET Core
uses: actions/setup-dotnet@v3
with:
Expand All @@ -27,14 +26,14 @@ jobs:
run: |
cd NexusMods.Archives.Nx/NexusMods.Archives.Nx.Cli
dotnet restore
- name: Pack JSON Folder
run: |
dotnet run --project NexusMods.Archives.Nx/NexusMods.Archives.Nx.Cli/NexusMods.Archives.Nx.Cli.csproj -- pack --source ./json --target ./minimal_hashes.nx --deduplicate-chunked=true --chunkedlevel=22
- name: Create Tag
run: |
git tag v$(date +'%Y%m%d%H%M%S')
version="v$(echo $GITHUB_RUN_ID)"
git tag $version
git push origin --tags
- name: Create GitHub Release
Expand All @@ -43,8 +42,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "v$(date +'%Y%m%d%H%M%S')"
release_name: "Release $(date +'%Y-%m-%d %H:%M:%S')"
tag_name: "v${{ github.run_id }}"
release_name: "Release ${{ github.run_id }}"
draft: false
prerelease: false

Expand Down

0 comments on commit e0137f9

Please sign in to comment.