Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Commit 89e034e

Browse files
trlyampcode-com
andcommitted
Fix release versioning to use semantic tags
- Use date-based versioning (v2025.01.19.abc1234) instead of fixed 'latest' tag - GitHub automatically designates newest release as 'latest' - Preserves version history while maintaining stable URL - releases/latest/download/install.sh always points to newest version Amp-Thread-ID: https://ampcode.com/threads/T-cb412e56-498f-4296-8b89-e1346b829f41 Co-authored-by: Amp <amp@ampcode.com>
1 parent 01c1223 commit 89e034e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/release-installer.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,18 @@ jobs:
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
1818

19-
- name: Get short commit SHA
19+
- name: Generate version
2020
id: vars
21-
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
21+
run: |
22+
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
23+
# Create version based on date + short commit (e.g., v2025.01.19.abc1234)
24+
echo "version=v$(date +%Y.%m.%d).$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
2225
2326
- name: Create or update release
2427
uses: softprops/action-gh-release@v1
2528
with:
26-
tag_name: latest
27-
name: Latest Installer
29+
tag_name: ${{ steps.vars.outputs.version }}
30+
name: "Revenue Installer ${{ steps.vars.outputs.version }}"
2831
body: |
2932
🚀 **Revenue Team Workstation Installer**
3033

0 commit comments

Comments
 (0)