Replaces occurrences of 0.0.yyyymmdd by dyyyymmdd.
Sponsored by: Absolight
This commit is contained in:
parent
60a383ee17
commit
c16925d60c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51452
1 changed files with 15 additions and 4 deletions
|
@ -743,13 +743,14 @@ PORTEPOCH= 1</programlisting>
|
||||||
looking at the version string. In particular, make sure
|
looking at the version string. In particular, make sure
|
||||||
version number components are always delimited by a
|
version number components are always delimited by a
|
||||||
period, and if the date is part of the string, use the
|
period, and if the date is part of the string, use the
|
||||||
<literal>0.0.<replaceable>yyyy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>
|
<literal>d<replaceable>yyyy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>
|
||||||
format, not
|
format, not
|
||||||
<literal><replaceable>dd</replaceable>.<replaceable>mm</replaceable>.<replaceable>yyyy</replaceable></literal>
|
<literal><replaceable>dd</replaceable>.<replaceable>mm</replaceable>.<replaceable>yyyy</replaceable></literal>
|
||||||
or the non-Y2K compliant
|
or the non-Y2K compliant
|
||||||
<literal><replaceable>yy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>
|
<literal><replaceable>yy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>
|
||||||
format. It is important to prefix the version with
|
format. It is important to prefix the version with a
|
||||||
<literal>0.0.</literal> in case a release with an actual
|
letter, here <literal>d</literal> (for date), in case a
|
||||||
|
release with an actual
|
||||||
version number is made, which would be
|
version number is made, which would be
|
||||||
numerically less than
|
numerically less than
|
||||||
<literal><replaceable>yyyy</replaceable></literal>.</para>
|
<literal><replaceable>yyyy</replaceable></literal>.</para>
|
||||||
|
@ -935,8 +936,18 @@ PORTEPOCH= 1</programlisting>
|
||||||
<literal>piewm</literal> example above). Otherwise, ask the
|
<literal>piewm</literal> example above). Otherwise, ask the
|
||||||
original author or use the date string the source file was
|
original author or use the date string the source file was
|
||||||
released on
|
released on
|
||||||
(<literal>0.0.<replaceable>yyyy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>)
|
(<literal>d<replaceable>yyyy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>,
|
||||||
|
or
|
||||||
|
<literal>d<replaceable>yyyy</replaceable><replaceable>mm</replaceable><replaceable>dd</replaceable></literal>)
|
||||||
as the version.</para>
|
as the version.</para>
|
||||||
|
|
||||||
|
<tip>
|
||||||
|
<para>Use any letter. Here, <literal>d</literal> here stands
|
||||||
|
for date, if the source is a <application>Git</application>
|
||||||
|
repository, <literal>g</literal> followed by the commit date
|
||||||
|
is commonly used, using <literal>s</literal> for snapshot is
|
||||||
|
also common.</para>
|
||||||
|
</tip>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue