Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Alchemusica - Free MIDI Sequencer
Alchemusica - Free MIDI Sequencer
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse SVN
Browse Git: Alchemusica
Help
Browse Subversion Repository
/
[alchemusica]
/
trunk
/
update_version.rb
Diff of /trunk/update_version.rb
Parent Directory
|
Revision Log
|
Patch
revision
4
by
toshinagata1964
, Sat Sep 3 06:22:57 2011 UTC
revision
66
by
toshinagata1964
, Sun May 8 09:08:24 2016 UTC
#
Line 14
year = t.year
Line 14
year = t.year
14
month = t.month
month = t.month
15
day = t.day
day = t.day
16
d = sprintf("%04d%02d%02d", year, month, day)
d = sprintf("%04d%02d%02d", year, month, day)
17
if date != d
# if date != d
18
File.open("Version", "w") { |fp|
# File.open("Version", "w") { |fp|
19
fp.print "version = \"#{version}\"\n"
# fp.print "version = \"#{version}\"\n"
20
fp.print "date = \"#{d}\"\n"
# fp.print "date = \"#{d}\"\n"
21
}
# }
22
end
# end
23
build = "build " + d
build = "build " + d
24
verstr = "v#{ver} #{build}"
verstr = "v#{ver} #{build}"
25
yrange = "2000-#{year}"
yrange = "2000-#{year}"
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.4
changed lines
Added in v.66
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26