Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[Android] Check weexVersion #2451

Merged
merged 2 commits into from
May 16, 2019

Conversation

YorkShen
Copy link
Contributor

@YorkShen YorkShen commented May 16, 2019

  1. The version must have 4 sections like 0.20.0.1
  2. The leading three section must be number, and the last section is odd number with or without suffix string.
  3. Version check can be ignored by -PignoreVersionCheck=true

1. The version must have 4 sections.
2. The leading three section must be number, and the last section is odd number with or without suffix string.
@weex-bot
Copy link

weex-bot commented May 16, 2019

Messages
📖 No android file has been changed.
📖 android build verification finished.

Generated by 🚫 dangerJS

version = project.hasProperty('weexVersion') ? project.getProperty('weexVersion') : "0.20.0.1"

//Check version, the version must have 4 sections. The leading three section must be number, and the last section is odd number with or without suffix string.
if (!project.hasProperty('ignoreVersionCheck') || !project.getProperty('ignoreVersionCheck').equals("true")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

should be project.getProperty('ignoreVersionCheck').equals("true")?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope

It is another form of ! (project.hasProperty('ignoreVersionCheck') && project.getProperty('ignoreVersionCheck).equals("true"))

Copy link
Contributor

@lucky-chen lucky-chen left a comment

Choose a reason for hiding this comment

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

LGTM

@lucky-chen lucky-chen merged commit 151c469 into apache:master May 16, 2019
YorkShen added a commit that referenced this pull request May 24, 2019
* [Android] Check weexVersion

1. The version must have 4 sections.
2. The leading three section must be number, and the last section is odd number with or without suffix string.

* [Android] Add ignoreVersionCheck

(cherry picked from commit 151c469)
YorkShen added a commit that referenced this pull request May 24, 2019
lucky-chen pushed a commit that referenced this pull request May 24, 2019
* [jsfm] Fix the lint error in Document (#2368)

Remove the useless temporary variable `result` in the `fireEvent` method.

* [iOS] Fix mtl target build script. (#2369)

* Update version for 0.24 release

* Update release script

* Add release_candiate.sh

* Chmod publish_release_candiate.sh to 755

* Update publish.sh

* Update push tag

* Update publish srcript

* Update license header and build script for apache release.

* Update file header for source file from Webkit and chromium

* Update webkit version.

* update publish script.

* Update push tag

* update publish script

* Update rule for release_files.

* Add Ninja build dep (#2459)

* Update publish_release_official script.

* Update license

* Update release script

* Update comment doc release script.

* Update readme

* Update Readme.md

* [Android] Check weexVersion (#2451)

* [Android] Check weexVersion

1. The version must have 4 sections.
2. The leading three section must be number, and the last section is odd number with or without suffix string.

* [Android] Add ignoreVersionCheck

(cherry picked from commit 151c469)

* [Android] Copy so. (#2454)

Use a dedicated way to copy unstripped .so file without the importable file path.

(cherry picked from commit 4da0cea)

* Remove ios/sdk/WeexTests/dependency from Apache release.

* Update build.gradle
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants