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 2823b5e commit 1e1d353
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ jobs:
name: Qt5 build
runs-on: ubuntu-latest
steps:
- name: Generate release tag
id: tag
run: echo "::set-output name=release_tag::1.0.${{ github.run_number }}"
- name: Setting up release
run: echo "::set-output name=release_date::$(date +'%m-%d-%Y')"
- name: Checkout
uses: actions/checkout@v2
- name: Install Qt
Expand Down Expand Up @@ -68,6 +67,6 @@ jobs:
files: |
*.deb
*.rpm
tag_name: ${{ steps.tag.outputs.release_tag }}
tag_name: ${{ steps.tag.outputs.release_date }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 4 additions & 5 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ jobs:
steps:
- name: Set environment variables
run: echo "PATH=/usr/local/opt/qt@5/bin:$PATH" >> $GITHUB_ENV
- name: Generate release tag
id: tag
run: echo "::set-output name=release_tag::1.0.${{ github.run_number }}"
- name: Setting up release
run: echo "::set-output name=release_date::$(date +'%m-%d-%Y')"
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: brew install qt5
run: brew install qt@5
- name: Configure build
run: qmake big-file-editor.pro
- name: Build project
Expand All @@ -34,6 +33,6 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: big-file-editor.dmg
tag_name: ${{ steps.tag.outputs.release_tag }}
tag_name: ${{ steps.tag.outputs.release_date }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 3 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ jobs:
build:
runs-on: windows-latest
steps:
- name: Generate release tag
id: tag
run: echo "::set-output name=release_tag::1.0.${{ github.run_number }}"
- name: Setting up release
run: echo "::set-output name=release_date::$(date +'%m-%d-%Y')"
- name: Checkout code
uses: actions/checkout@v2
- name: Install build tools
Expand Down Expand Up @@ -38,6 +37,6 @@ jobs:
with:
files: |
./setupbigfileeditor.exe
tag_name: ${{ steps.tag.outputs.release_tag }}
tag_name: ${{ steps.tag.outputs.release_date }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1e1d353

Please sign in to comment.