Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate the build number at the beginning of the build #6894

Merged
merged 1 commit into from Nov 28, 2018

Conversation

jakubgs
Copy link
Member

@jakubgs jakubgs commented Nov 27, 2018

Generate the build number at the beginning of the build to avoid mismatched numbers.

Resolves. #6881

@status-github-bot
Copy link

Pull Request Checklist

  • Have you updated the documentation, if impacted (e.g. docs.status.im)?

@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA Nov 27, 2018
@status-comment-bot
Copy link

#1 CI BUILD SUCCESSFUL in 33 min and counting (6091ea766dcaae6df9f04a60902b8b0b423ce872)

Android(e2e) iOS MacOS AppImage Windows

@jakubgs jakubgs force-pushed the fix-build-numbers branch 5 times, most recently from 6c2d199 to 0e19f56 Compare November 27, 2018 13:22
@status-comment-bot
Copy link

#8 CI BUILD SUCCESSFUL in 27 min and counting (0e19f56072934c567ae847e58d59c693a0fea9c7)

Android(e2e) iOS MacOS AppImage Windows

@jakubgs jakubgs changed the title check if build number was set correctly Generate the build number at the beginning of the build Nov 27, 2018
# Example: 1812011805
date '+%y%m%d%H%M' | tee "${BUILD_NUMBER_FILE}"
# Format: Year(2 digit) + Month + Day + Hour
# Example: 2018120118
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment is wrong now. Why this change, btw?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed minutes to reduce possibility of getting different build numbers for different platforms.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, fixed comment.

ci/Jenkinsfile.android Outdated Show resolved Hide resolved
ci/Jenkinsfile.ios Outdated Show resolved Hide resolved
@Serhy Serhy mentioned this pull request Nov 28, 2018
@Serhy
Copy link
Contributor

Serhy commented Nov 28, 2018

@jakubgs I've checked Android and iOS builds from #6894 (comment) and it's good! Both apps has (2018112717) version.

Could you please review comments above about comments (sorry for tautoligies! :) inside PR so we could proceed as we need this changes in 0.9.32 release.

@jakubgs jakubgs force-pushed the fix-build-numbers branch 2 times, most recently from 508adbe to 261e6f6 Compare November 28, 2018 15:07
Copy link
Contributor

@mandrigin mandrigin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm now

Signed-off-by: Jakub Sokołowski <jakub@status.im>
@jakubgs jakubgs merged commit 7e031e8 into develop Nov 28, 2018
Pipeline for QA automation moved this from REVIEW to DONE Nov 28, 2018
@jakubgs jakubgs deleted the fix-build-numbers branch November 28, 2018 15:11
@status-comment-bot
Copy link

#9 CI BUILD SUCCESSFUL in 28 min and counting (508adbeee51587687516d6ccc5d90baf8ad3b7d4)

Android(e2e) iOS MacOS AppImage Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

6 participants