Skip to content

Commit

Permalink
- changing release naming, instead of tag name putting the date in
Browse files Browse the repository at this point in the history
  • Loading branch information
ozkanpakdil committed May 11, 2024
1 parent 1e1d353 commit 50588ab
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
name: Qt5 build
runs-on: ubuntu-latest
steps:
- name: Setting up release
run: echo "::set-output name=release_date::$(date +'%m-%d-%Y')"
- name: Generate release tag
id: tag
run: echo "::set-output name=release_date::1.0.$(date +'%m%d%Y')"
- name: Checkout
uses: actions/checkout@v2
- name: Install Qt
Expand All @@ -24,7 +25,7 @@ jobs:
run: make -j3
- name: Create deb and rpm
run: |
NAME=big-file-editor-${{ steps.tag.outputs.release_tag }}
NAME=big-file-editor-${{ steps.tag.outputs.release_date }}
strip big-file-editor
tar -jcvf big-file-editor.linux.bz2 big-file-editor
mkdir -p $NAME/DEBIAN
Expand All @@ -33,7 +34,7 @@ jobs:
Section: editors
Depends: qt5-default (>= 5.11)
Maintainer: Ozkan Pakdil
Version: ${{ steps.tag.outputs.release_tag }}
Version: ${{ steps.tag.outputs.release_date }}
License: GPL-3.0
Architecture: amd64
Homepage: https://github.com/ozkanpakdil/big-file-editor
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
steps:
- name: Set environment variables
run: echo "PATH=/usr/local/opt/qt@5/bin:$PATH" >> $GITHUB_ENV
- name: Setting up release
run: echo "::set-output name=release_date::$(date +'%m-%d-%Y')"
- name: Generate release tag
id: tag
run: echo "::set-output name=release_date::1.0.$(date +'%m%d%Y')"
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ jobs:
build:
runs-on: windows-latest
steps:
- name: Setting up release
run: echo "::set-output name=release_date::$(date +'%m-%d-%Y')"
- name: Generate release tag
id: tag
run: echo "::set-output name=release_date::1.0.$(date +'%m%d%Y')"
- name: Checkout code
uses: actions/checkout@v2
- name: Install build tools
Expand Down

0 comments on commit 50588ab

Please sign in to comment.