Skip to content

Commit

Permalink
trigger workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
selimseker committed Nov 5, 2024
1 parent a84bc1c commit 8d0dc86
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Build and Publish Launch Releases

on:
release:
types: [published]
push:
branches:
- version-check-loop

jobs:
build:
Expand Down Expand Up @@ -32,7 +33,7 @@ jobs:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.arch }}
run: |
${{ matrix.env }} go build -tags="${{ matrix.tags }}" -o dkn-compute-launcher${{ matrix.extension }} .
${{ matrix.env }} go build -ldflags="-X main.version=v0.0.14" -tags="${{ matrix.tags }}" -o dkn-compute-launcher${{ matrix.extension }} .
- name: Prepare Launch Release Files
env:
Expand Down Expand Up @@ -75,7 +76,8 @@ jobs:
id: get_latest_tag
run: |
# latest release tag
LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1) 2>/dev/null || echo "untagged")
# LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1) 2>/dev/null || echo "untagged")
LATEST_TAG="v0.0.14"
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
# latest release name
Expand All @@ -95,4 +97,4 @@ jobs:
artifacts: "artifacts/*"
artifactContentType: application/zip
allowUpdates: true
# draft: true
draft: true

0 comments on commit 8d0dc86

Please sign in to comment.