Skip to content

Commit

Permalink
change to version 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
waddella committed Sep 10, 2019
1 parent 49e9a3f commit b215a75
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ debug/bugs/known_bugs.html
loon.Rcheck/
R.Rcheck/
/loon_*
*.bak
2 changes: 1 addition & 1 deletion R/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: loon
Type: Package
Title: Interactive Statistical Data Visualization
Version: 1.2.3
Date: 2019-04-28
Date: 2019-09-10
Authors@R: c(person(given = "Adrian", family = "Waddell",
email = "adrian@waddell.ch",
role = c("aut")),
Expand Down
4 changes: 2 additions & 2 deletions R/inst/tcl/loon/pkgIndex.tcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package ifneeded loon 1.2.0 "
package provide loon 1.2.0
package ifneeded loon 1.2.3 "
package provide loon 1.2.3
package require Tcl 8.6
package require Tk 8.6
[list set ::env(LOON_VERSION) 1.1.0]
Expand Down
4 changes: 2 additions & 2 deletions Tcl/makePkgIndex.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ set fp [open "pkgIndex.tcl" w+]
# puts \"Img package is missing. Can not load png and jpeg images.\"
#\}"

puts $fp "package ifneeded loon 1.2.0 \""
puts $fp " package provide loon 1.2.0 "
puts $fp "package ifneeded loon 1.2.3 \""
puts $fp " package provide loon 1.2.3 "
puts $fp " package require Tcl 8.6 "
puts $fp " package require Tk 8.6 "
## Objects need to be loaded according to inheritance
Expand Down
4 changes: 2 additions & 2 deletions Tcl/pkgIndex.tcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package ifneeded loon 1.2.0 "
package provide loon 1.2.0
package ifneeded loon 1.2.3 "
package provide loon 1.2.3
package require Tcl 8.6
package require Tk 8.6
[list set ::env(LOON_VERSION) 1.1.0]
Expand Down
12 changes: 6 additions & 6 deletions changeVersion.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ set pattern [format "s/loon_\%s\\.tar\\.gz/loon_%s\\.tar\\.gz/g"\
[regsub -all -- \\. $newVersion \\.]]

# Change in website beta
# exec sed -i $pattern website/md/beta.md
# exec sed $pattern website/md/beta.md > website/md/beta.md

# Change in Makefile
exec sed -i $pattern Makefile
exec sed -i .bak $pattern Makefile


# Change in makePkgIndex.tcl
exec cd Tcl
exec sed -i $pattern makePkgIndex.tcl
exec ./makePkgIndex.tcl
exec cd ..
cd Tcl
exec sed -i .bak s/$oldVersion/$newVersion/g makePkgIndex.tcl
exec tclsh makePkgIndex.tcl
cd ..

puts "\n\n DIFF on affected files\n ===================== \n\n"

Expand Down

0 comments on commit b215a75

Please sign in to comment.