Browse code

powershell: Fix version mismatch issue

Change-Id: I55de5440f07bc6501c216d57e14498acfe0f2c1d
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6689
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
(cherry picked from commit 9546543842af9662239c1d40a22622429aad389e)
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6797
Tested-by: michellew <michellew@vmware.com>

Ajay Kaher authored on 2019/02/14 05:36:05
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        PowerShell is an automation and configuration management platform.
2 2
 Name:           powershell
3 3
 Version:        6.1.1
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 Vendor:         VMware, Inc.
6 6
 Distribution:   Photon
7 7
 License:        MIT
... ...
@@ -26,9 +26,9 @@ It consists of a cross-platform command-line shell and associated scripting lang
26 26
 
27 27
 %prep
28 28
 %setup -qn PowerShell-%{version}
29
-# sed -i 's/2.1.403/2.1.4/' global.json
30 29
 
31 30
 %build
31
+sed -i -e '/refs\/tags\/v%{version}/{n;q}' .git/packed-refs
32 32
 cp %{SOURCE1} .
33 33
 chmod +x ./build.sh
34 34
 ./build.sh
... ...
@@ -52,6 +52,8 @@ ln -sf %{_libdir}/powershell/pwsh %{buildroot}%{_bindir}/pwsh
52 52
     %{_docdir}/*
53 53
 
54 54
 %changelog
55
+*   Wed Feb 13 2019 Ajay Kaher <akaher@vmware.com> 6.1.1-2
56
+-   Fix version mismatch issue.
55 57
 *   Wed Dec 05 2018 Ajay Kaher <akaher@vmware.com> 6.1.1-1
56 58
 -   upgrade version to 6.1.1
57 59
 *   Thu Sep 27 2018 Ajay Kaher <akaher@vmware.com> 6.0.1-2