Skip to content

Commit

Permalink
chore(ci): use epoch timestamp as build number
Browse files Browse the repository at this point in the history
  • Loading branch information
vareversat committed Apr 25, 2024
1 parent 66eb0a7 commit cbf5601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/action.flutter.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
flutter-version: ${{ inputs.flutter_version }}
- name: 'Generate build number'
run: |
BUILD_NUMBER=$(git rev-list --all --count)
BUILD_NUMBER=$(date +%s)
BUILD_NAME=$(git describe --abbrev=0 --tags)
echo "BUILD_NUMBER=$BUILD_NUMBER" >> $GITHUB_ENV
echo "BUILD_NAME=$BUILD_NAME" >> $GITHUB_ENV
Expand Down

0 comments on commit cbf5601

Please sign in to comment.