Since .info.yml contain "version: VERSION", such VERSION will be replaced by corresponding Drupal core version number. Therefore if install with git checkout, Available Update page will report that coming with an unsupported version number.

Documentation for Drupal 7.x (https://www.drupal.org/node/542202#version):

version (Discouraged)
The version string will be added by drupal.org when a release is created and a tarball packaged. However, if your module is not being hosted on the drupal.org infrastructure, you can give your module whatever version string makes sense (eg. see Release naming conventions).

Documentation for Drupal 8.x (https://www.drupal.org/node/2000204#hello_world):

For modules hosted on drupal.org, the version number will be filled in by the packaging script, you should not specify it manually, but leave out the version line entirely.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hswong3i created an issue. See original summary.

hswong3i’s picture

  • hass committed a40d5df on 8.x-1.x authored by hswong3i
    Issue #2749737 by hswong3i: robotstxt.info.yml should not contain
    "...
hass’s picture

Status: Needs review » Fixed

Status: Fixed » Needs work

The last submitted patch, 2: robotstxt-remove_version_from_info_yml-2749737-2.patch, failed testing.

The last submitted patch, 2: robotstxt-remove_version_from_info_yml-2749737-2.patch, failed testing.

The last submitted patch, 2: robotstxt-remove_version_from_info_yml-2749737-2.patch, failed testing.

The last submitted patch, 2: robotstxt-remove_version_from_info_yml-2749737-2.patch, failed testing.

The last submitted patch, 2: robotstxt-remove_version_from_info_yml-2749737-2.patch, failed testing.

The last submitted patch, 2: robotstxt-remove_version_from_info_yml-2749737-2.patch, failed testing.

The last submitted patch, 2: robotstxt-remove_version_from_info_yml-2749737-2.patch, failed testing.

hass’s picture

Status: Needs work » Fixed
hswong3i’s picture

@hass thank you very much ;-)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.