Skip to content

Commit b176b81

Browse files
committed
release change [RELEASE]
1 parent c9af992 commit b176b81

3 files changed

Lines changed: 15 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,19 @@ jobs:
3535
npm run build:frontend
3636
npm run build:electron
3737
38+
- name: Generate Version Tag
39+
id: tag
40+
run: |
41+
VERSION=$(node -p "require('./package.json').version")
42+
TAG_NAME="v${VERSION}-$(date +'%Y%m%d.%H%M')"
43+
echo "tag_name=${TAG_NAME}" >> $GITHUB_OUTPUT
44+
echo "version_raw=${VERSION}-$(date +'%Y%m%d.%H%M')" >> $GITHUB_OUTPUT
45+
echo "Version tag: ${TAG_NAME}"
46+
3847
- name: Build and Publish
3948
uses: samuelmeuli/action-electron-builder@v1
4049
with:
41-
github_token: ${{ secrets.github_token }}
50+
github_token: ${{ secrets.GITHUB_TOKEN }}
4251
release: true
43-
args: "--linux --x64 --arm64"
52+
# Usamos el tag generado para la release y forzamos publicación inmediata
53+
args: "--linux --x64 --arm64 -c.publish.provider=github -c.publish.releaseType=release -c.extraMetadata.version=${{ steps.tag.outputs.version_raw }}"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "macboat",
33
"productName": "MacBoat",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"description": "MacBoat - macOS inside a Docker container with ease.",
66
"author": "Inled Group <hi@inled.es>",
77
"main": "dist/backend/electron/main.js",
@@ -38,7 +38,6 @@
3838
"category": "Utility"
3939
}
4040
},
41-
4241
"repository": {
4342
"type": "git",
4443
"url": "git+https://github.com/InledGroup/macboat.git"

0 commit comments

Comments
 (0)