From 33a8645f66e3d96b72688dd2ccfed2ab7e5cb698 Mon Sep 17 00:00:00 2001 From: Todd Date: Thu, 18 Jan 2018 12:15:53 -0500 Subject: [PATCH] common: fix app version Our app version wasn't correct per MS's spec. Modify it to match the XX.YYYY format. --- _examples/document/simple/simple.docx | Bin 5274 -> 5327 bytes common/appproperties.go | 10 ++++++++-- common/appproperties_test.go | 5 ++++- document/testdata/header-footer-multiple.docx | Bin 6033 -> 6033 bytes document/testdata/simple-1.docx | Bin 4816 -> 4817 bytes spreadsheet/testdata/simple-1.xlsx | Bin 4152 -> 4153 bytes spreadsheet/testdata/simple-2.xlsx | Bin 4156 -> 4157 bytes version.go | 5 +++-- 8 files changed, 15 insertions(+), 5 deletions(-) diff --git a/_examples/document/simple/simple.docx b/_examples/document/simple/simple.docx index cb35f3fed6e6ff7d90b3613fd7d1158f87716056..3b4d75b385d762070b3f5be7f86fedfc81dafcaa 100644 GIT binary patch delta 881 zcmbQGd0vw*z?+#xgnE=A^;K^R<@)8B{m)sw-(+iYQAjLj3imWdsZ~08 zT-&1d@g3Lc_Do(Xt0=Oj{X|-p!hLD33o6`(ulF2|*pTa$c&gGQ`h(Ro5eDn`Sy_Ah z440=JUb${l z|81WvS<-v`rUlggHQK3o-rQww`K0?|d~d&IvZ}iL(`c~}J2x|Cg2_*Y&DlAxrcU_t zZOR|3wq4SHSQr@o{}1qH=h)&GHBpq2f#EU`qlVz*CMKo&3kSW97zi{x{N40EpeTQN z=!CnM%JS!lxWs(0Qc2!6!^cT&>({qOxk4{Ij!Xadlkc*u`1`JMFC(^hp}|*IDO@|) zlT%$t6p7vq?3XA-HdgQQn+i-=bvo{iOCzEcD7_?O`i=(z)3o z*!08YG_SaSwh`vhJ1e$_ezpn!eD>B}n>)_M7H=9aPIkGnr0v{`Yl^oyb$K(j=KIP1 zkt_Z1eD~q2?~GxAU|OcJ;1L4@!)o+EVD#DC$J`1@NSno3qnN=-YI7+EG;wX-#u>!~ z5fkC5WPz|I3LJ(ey$B&wUQil@2lC`uLWc4n5o8+$fi@$+l*zAz6d);=Pgsg^>tsz~ zDAyOrwVRv))79SkY+jr5{l2ur0psiD`tfT1>o%1imHU;!scrUHRhxm=RBU%w zZQi|Q#bHO5Y`oYfpk?NiqHQ`+-j?;n6^op@NM1Fd#^<- zzs_B-Z7W;c$v^cK2UOmj{^aT4*T8FXxq$JeXUx0HYcrgmeTcu4cdX#+rgHHD2{t<$ zna1_sqt1wR?{s*p$d=onxl>Kvr0 z>PP<{TDaF%ca7J-6Q>{loa0eAH|VZ!9Ww*N|NjBr>>O!^*LHkm5Mf}L$jHEe8bXs7 zF)7ub+30n|LEzZOe+SArZr?xW>iF)^({-DJHUw;tEju1lkY0X6(zmAC&?!e}?f(DY zt>>lton;S|^?n!ox_sS2884a77j{2izWePx)2tcF%OUJ{%e7ZceCu{a?wa0Sox$I3o01ZA z(1Fh{eD-<>1yGTH3I8U;*0zyz~-6$dow zY<|rd#RL)a_Ak%m^FwxBL>#MB@WRi?g;?T6g|EG delta 182 zcmbQJKT)42z?+#xgn*fTOUwr=)iQ~=ZYOk7~Pnz|(9`{xjp!no`LD|hr0@)C~f?Z(xx6l<3J^7-DIf&vCwEdjbGK(K!SF diff --git a/document/testdata/simple-1.docx b/document/testdata/simple-1.docx index ad8d5855e6b941d8e73d6cecb6526104a3807d6f..a44ab11bafa00a18ef7eff70cf7fb150aa7f3b26 100644 GIT binary patch delta 542 zcmcbhdQp`pz?+#xgn9Vor?zd&iWKFw zmoAHOg}yXBdoC-(NZ9P+-M`;l*Vb3PEtKn*XZAm5^?sAB$weWtoGILs*D-3=pQ<#8 z{$TY?gu(iKR@NRr!{up*SFT&z$U1W_yU(Av4t2g*rZo$s+PF{nJt~?1uRAP-@Bh)S zoA|@me}2cbEqC^Ie)k8T*FIT%GUZHQb%&#Lg4el|?7e%dE}qLWnK1Qf%%@^4@9z7B zqSLlq;0#$C%X0F6+b2tw^j^Pd0kwaPb}D+EH+Pv^KIy&~-`lU5tg0^mG+Hdg&drRO z@RMP4cFwD*6aIXg^2e%em-HVN28RFt1H9Qew)jO&6lG*!xD3R|;j(!?6Bj68Hm_!G z2h%33#bA0R8#ur=zhaMJ0?B)DRkMKTqkKof0ofy9&bzh4$Omrl3Z@*t7dd9LMW z85kHUfK~|tX#|)uSwT<%tY+pC$Kzf=`A%kZH47%k3o3wOs!>peQFHP<2myitO{mJS=iXe^`kYhVJT}TdWu9TcyR}0WwB~}IoVT8p%)~?A*gw)vT1weuT DGz!Hm delta 541 zcmcbpdO?*Zz?+#xgn*fTOUwodkCRI!cEK4c)m`k_4W{=z4Bm*gd{STfP~ zW-xp6$~UIo`KCHM%}p+DyI;5B^ZB^%GbSJI=XO75^?sAB$weWtoFm1P*D-3=Yq^+2 zf3PazYM5JYY8tov#LAl-tFp5b9MhgNPTq0;vpQoe)0zcRZQLjP9+k}h*BzF^_xifnInuC9%8eEMhN^W*P}mBdr* z4!n_?T{YFa@b{EQR;|0F|FAGH{Qn=|&Cc<0L5Q0OBLl-lAVvfRUIBC7##SRAxWSVz3K+_RL|*5)mY-!{ zV5k6EB?zPuVDe-|K?SgynM)jxdjaJ;nbFnEpPT?yvu=ixwi!@OEQT75$@2vjK#_S+ wP=;~thJAP%>X4CB4Y8bXR7jyI5FGdV*@4#epIa&}H$Dx}6%CjfE{0REN1+W-In diff --git a/spreadsheet/testdata/simple-1.xlsx b/spreadsheet/testdata/simple-1.xlsx index f13fa3e24ae885f099884897781f485a6853f130..3b9806e5785de6682a3452889b5be16afd77704d 100644 GIT binary patch delta 627 zcmdm?uv392z?+#xgn9Vor?zd&iWKFw zmoAHOg}yXBdoC-(NZ9P+-M`;l*Vb3PEtKn*XZAm5^?sAB$weWtoGILsH#2J1pQ<#8 z{$TY?gu(iKR@NRr!{up*SFT&z$U1W_yU(Av4t2g*rZo$s+PF{nJt~?1uRAP-@Bh)S zoA|@me}2cbEqC^Ie)k8T*FIT%GUZHQb%&#Lg4el|?7e%dE}qLWnK1Qf%%@^4@9z7B zqSLlq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6+b2tw^j^Pd0kwaPb}D+EH+Pv^KIy&~-`lU5tg0^mG+Hdg&drRO z@RMP4cFwD*6aIXg^2e%em-HVN28RFt1H9Qew)jO&6lG*!xD3R|;j(!N6Bj68Hg8~d z1=HVIzyY<{mhBmsugZ}G4!BOv_aJ3eTpnQIBi#4E!b^C~c~5s3`M}Me{DRjI6wuOq zGK@1PTkt7>I8i{((#hp~a`GUxn^eNu|1mHyWH2!>NC9aCcr$qmpC(AdeV_)T$$$7{ zKpZK48Ahqe=KSg)P6CiqH@TMI2*lY4z?+#xgnxc5h`wO4kU6Pl)V#!3` zo5AeOE8m!U=bP&6G&i}p?S9>g&*$U5&zO9;pWFSM)%#7hCKrXoa*h;F-pr_3ujOJA z{lTh;t6^@rscGEu6Dx0Wtjf+#a7=s7IC;nU&+3e^OluZMwQ-;DdsH(2Uw2pv-}j?m zH}QwB|NM?=Tkh%G?aCj1hIL&`F%ny0dt?Exf$H-o&Bx;QW~7@+oj6sbchqv~(xdNp zaCt|)U|DrduSuld`KL_NW;b>375nNW^Gq+@c(~+H#^721tD%Cj0_AHffzYhHZNu30)@-wjm)lK z`UeX*oHpCBJp=RAIFi8O*2VcAq^z3D11x-$`yN<$DX%&2kyaxgxcQS`@*0A|S%y!B zamHjzJ_Qgb8pv5Pxq?p)#F@b-!}OYEG6$;+Uw}6wlL!MWiY7k*Dl?q?7bp)@Ce1Iy zC^^}JUme6r1afL8*YO+4gDi`k`{5=B&?EXx3_#7uAaC+{er2$lHg3Jxxj;2_tPBjo S$VwP?OcoSSW1Gec5(EH`2+L#u diff --git a/version.go b/version.go index 2d5de220d7..70529cf115 100644 --- a/version.go +++ b/version.go @@ -9,8 +9,9 @@ package gooxml import "time" -// Release is the last release version of the software. -var ReleaseVersion = "v0.4.0" +// ReleaseVersion is the last release version of the software and must be in the +// format x.y +var ReleaseVersion = "v0.5000" // ReleaseDate is the release date of the source code for licensing purposes. var ReleaseDate = time.Date(2018, 1, 4, 0, 0, 0, 0, time.UTC)