Skip to content

Commit

Permalink
Removed Artifact Save. Modified version number determination
Browse files Browse the repository at this point in the history
  • Loading branch information
CEKlopfenstein committed May 18, 2024
1 parent 8f6a9af commit 9519c46
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ jobs:

- name: Build
run: make build

- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: my-artifact
path: build/cekwebhooks-linux-*
retention-days: 1

- name: Determine Version Number
id: version
Expand All @@ -29,6 +22,10 @@ jobs:
LAST_MAJOR=$(echo $LAST_VERSION_TAG|sed -E 's/^[^\.]+\.//g;s/\..+//g')
MAJOR=$(($LAST_MAJOR+1))
MINOR=$(git log --oneline HEAD...$LAST_VERSION_TAG|wc -l)
echo "Year: "$YEAR
echo "Last Version: "$LAST_VERSION_TAG
echo "Last Major: "$LAST_MAJOR
echo $YEAR.$MAJOR.$MINOR-pre
echo "TAG_NAME=$YEAR.$MAJOR.$MINOR-pre" >> $GITHUB_OUTPUT
- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 9519c46

Please sign in to comment.