Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
think version generated
06-14-2018, 05:54 PM (This post was last modified: 06-15-2018 10:18 AM by qiracle.)
Post: #1
think version generated
Driving example: http://tab.d-thinker.org/showthread.php?...http://tab.d-thinker.org/showthread.php?tid=4945&pid=7548 .
I want to generate a Version.txt when make limbo in think. It should add follow code in cod://dt/release/util/package.sh

At line 20:
Code:
mkdir -p $think_ship_dir
((->gen-version > $think_ship_dir/Version.txt))

Implemented. Commit:ae6a159cc4b019f082

----
20180615/jqq: add implemented
Find all posts by this user
Quote this message in a reply
06-14-2018, 05:54 PM
Post: #2
RE: think version generated
(06-14-2018 05:54 PM)qiracle Wrote:  Driving example: http://tab.d-thinker.org/showthread.php?...http://tab.d-thinker.org/showthread.php?tid=4945&pid=75546
I want to generate a Version.txt when make limbo in think. It should add follow code in cod://dt/release/util/package.sh

At line 20:
Code:
mkdir -p $think_ship_dir
((->gen-version > $think_ship_dir/Version.txt))

RR zma
Find all posts by this user
Quote this message in a reply
06-14-2018, 06:01 PM
Post: #3
RE: think version generated
(06-14-2018 05:54 PM)qiracle Wrote:  
(06-14-2018 05:54 PM)qiracle Wrote:  Driving example: http://tab.d-thinker.org/showthread.php?...http://tab.d-thinker.org/showthread.php?tid=4945&pid=75546
I want to generate a Version.txt when make limbo in think. It should add follow code in cod://dt/release/util/package.sh

At line 20:
Code:
mkdir -p $think_ship_dir
((->gen-version > $think_ship_dir/Version.txt))

RR zma

Sounds good.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-15-2018, 10:17 AM
Post: #4
RE: think version generated
Implemented. Commit:ae6a159cc4b019f082
Find all posts by this user
Quote this message in a reply
06-15-2018, 12:06 PM
Post: #5
RE: think version generated
There is a dist-date.txt file. It isnused by ‘dt version’z

Pls find the design doc and propose to change it to use Version.txt.:

-‘dt version’ used Version.txt
- dist-date.txt is not generated anymore.
- fix places using dist-date.txt

We don’t need to maintain a addtiknal similar mechanisms in dt then.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: