Skip to content

Commit c0e1853

Browse files
committed
Pump Release 6.2.0
1 parent 6780c1f commit c0e1853

File tree

3 files changed

+45
-90
lines changed

3 files changed

+45
-90
lines changed

README.md

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -16,44 +16,11 @@ POCO classes can be used in a typed RESTful client OData services. Code generati
1616

1717
-----------
1818

19-
# Announcing new Release: V6.1.0
20-
## What�s New in v6.1.0:
21-
- New Feature: Gzip encoded content [#48](https://github.com/moh-hassan/odata2poco/issues/48) by @DerekGn. Allow reading SAP metadata compressed as gzip.
22-
23-
## What�s New in v6.0.0:
24-
25-
**Code Generation**
26-
- A new powerful option ```--att-defs``` allows you to dynamically generate attributes for c# classes and properties using a simple text file that contains your template with expressions. These expressions are valid C# code that can utilize C# string functions and other built-in extension methods. You can also filter on classes and properties to apply the attributes selectively.
27-
28-
- Add comments to the header of c# class to mark the openType classes or Entity Types: EntitySet or Complex type.
29-
30-
**Security**
31-
32-
- Password/secret token are encrypted when read from commandLine/file and it's stored in a SecuredContainer.
33-
- Reading password from keyboard and Encrypted then stored in a SecuredContainer.
34-
35-
**User Experience**
36-
37-
- Load option and arguments of commandLine from a text configuration File.
38-
- Reading value of any option in the commandLine from file.
39-
- Support repeating options in the commandLine for sequence args.
40-
41-
**Http Connection**
42-
43-
- New Option: Allow setting of SSL/TLS protocols.
44-
- New option: Allow to Skip Certification Check in http connection.
45-
- New Option: Allow to specify Http header in Odata http connection with the computing of base64.
46-
47-
48-
49-
**Enhancement**
50-
- Set exit codes to be positive number to match Linux standard.
51-
- Centeralizing packages and update all packages to the last version including Newtonsoft.Json to 13.0.3
52-
53-
Try the new version and let me know your feedback.
54-
55-
[How to use the new v6.0](https://github.com/moh-hassan/odata2poco/wiki/v6_0_0_how_to)
56-
19+
# Announcing new Release: V6.2.0
20+
## What is New in v6.2.0:
21+
- New Feature: The application `o2pgen.exe` and all `odata2poco.xxx.nupkg` packages are signed.
22+
Code signing is applied only to odata2poco project code in the [odata2poco repository](https://github.com/moh-hassan/odata2poco) and built on AppVeyor.
23+
[Read Code Signing Policy](#code-signing-policy)
5724
------------
5825

5926
## Development packages

ReleaseNotes.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# OData2Poco
22

3+
## Version 6.2.0
4+
**Release Date:** OCT 26, 2023
5+
- New Feature: The application `o2pgen.exe` and all `odata2poco.xxx.nupkg` packages are signed.
6+
Code signing is applied only to odata2poco project code in the [odata2poco repository](https://github.com/moh-hassan/odata2poco) and built on AppVeyor.
7+
The odata2poco.xxx.nupkg packages contain third-party libraries used by odata2poco, which may or may not be signed.
8+
9+
The project uses the free code signing provided by [SignPath.io](https://signpath.io?utm_source=foundation&utm_medium=github&utm_campaign=odata2poco), and a certificate by the [SignPath Foundation](https://signpath.org?utm_source=foundation&utm_medium=github&utm_campaign=odata2poco).
10+
11+
Thanks to [SignPath.io](https://signpath.io?utm_source=foundation&utm_medium=github&utm_campaign=odata2poco) and Thanks to @Paul Savoie for help and support.
12+
313
## Version 6.1.0
414
**Release Date:** SEP 9, 2023
515
- New Feature: Gzip encoded content #48 by @DerekGn. Allow reading SAP metadata compressed as gzip.

appveyor.yml

Lines changed: 30 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,33 @@
11

2-
#nuget version is nly changed by RELEASE TAG
2+
#nuget version is only changed by RELEASE TAG
33
version: 6.2.0-dev-{build}
44

55
image: Visual Studio 2022
6+
7+
# Set the signing policy slug according to branch
8+
environment:
9+
SIGNPATH_SIGNING_POLICY_SLUG: test-signing
10+
ARTIFACT_CONFIGURATION_SLUG: o2p2
11+
SIGNPATH_PROJECT_SLUG : odata2poco
12+
13+
614
pull_requests:
715
do_not_increment_build_number: false
816

917
init:
1018
- ps: |
1119
git config --global core.autocrlf input
1220
$env:CAN_PUBLISH = $true
21+
$env:O2P_VERSION = $env:APPVEYOR_BUILD_VERSION
22+
Write-Host "APPVEYOR_BUILD_VERSION='$env:APPVEYOR_BUILD_VERSION'" -ForegroundColor Yellow
1323
1424
if ($env:APPVEYOR_REPO_TAG -eq "true") {
25+
$env:SIGNPATH_SIGNING_POLICY_SLUG = 'release-signing'
1526
$ver = $env:APPVEYOR_REPO_TAG_NAME
16-
if($ver.StartsWith("v") -eq $true) { $ver = $ver.Substring(1) }
27+
if($ver.StartsWith("v") -eq $true) {
28+
$ver = $ver.Substring(1)
29+
$env:O2P_VERSION = $ver
30+
}
1731
try
1832
{
1933
Update-AppveyorBuild -Version $ver
@@ -59,62 +73,26 @@ after_test:
5973
$allow_push=$env:APPVEYOR_REPO_TAG -eq "true"
6074
.\scripts\build_choco $version $allow_push
6175
- ps: .\scripts\checksum.ps1 $env:APPVEYOR_BUILD_VERSION
76+
- 7z a -tzip .\build\odata2poco-%O2P_VERSION%-unsigned.zip .\build\*.nupkg .\build\*.snupkg .\build\*.exe .\chocolatey\*.nupkg
6277

63-
artifacts:
64-
- path: .\build\OData2Poco.dotnet.o2pgen*.nupkg
65-
name: global_tool
66-
- path: .\build\o2pgen.exe
67-
name: o2p_exe
68-
- path: .\build\OData2Poco.CommandLine.*.nupkg
69-
name: o2pgen
70-
- path: .\build\OData2Poco.*.nupkg
71-
name: lib
72-
- path: '.\build\OData2Poco.*.snupkg'
73-
name: symbol
74-
- path: '.\chocolatey\*.nupkg'
75-
name: choco_pkg
76-
- path: .\build\schecksum256-*.txt
77-
name: sha256
78+
artifacts:
79+
- path: .\build\odata2poco-%O2P_VERSION%-unsigned.zip
80+
name: o2p_zip
7881

79-
deploy:
8082

81-
#chocolatey
82-
- provider: NuGet
83-
server: https://push.chocolatey.org
84-
api_key:
85-
secure: CUR2VQy2d8EeiFJ//LEcn7BJrbXjVhuAi4Te/7Vtn3kpzA2LSHInh21H3Z38H57Q
86-
on:
87-
APPVEYOR_REPO_TAG: true # Deploy on tag push only.
88-
# branch: master # Release from master branch only.
89-
artifact: choco_pkg
90-
91-
# Nuget
92-
- provider: NuGet
93-
api_key:
94-
secure: XBvbm69UE+d1cuM8+VBfwMyjHDcAa79w0TBygcZsPZcl88AaLKN1EvI7KI8/K9Am
95-
on:
96-
APPVEYOR_REPO_TAG: true # Deploy on tag push only.
97-
# branch: master # Release from master branch only.
98-
artifact: global_tool,o2pgen,lib,symbol
99-
83+
deploy:
10084
#Github
10185
- provider: GitHub
10286
auth_token:
10387
secure: sB33uLo96nR+LGmYLdPmY/segb6d4O061N2e8Nbz6iyHg82D0RysMxWE5JKnXmU+
104-
artifact: /.*(\.|\.s)nupkg|o2p_exe|sha256/
88+
artifact: o2p_zip
10589
prerelease: false
106-
on:
90+
draft: true
91+
on:
10792
APPVEYOR_REPO_TAG: true
108-
109-
# myget
110-
- provider: NuGet
111-
server: https://www.myget.org/F/odata2poco/api/v2/package
112-
api_key:
113-
secure: QAHjX2gqddFX2cNhMNqweMTGQ89q++ezKnQvdAcinY5D1rwbj2vkWeFsTykm4koA
114-
symbol_server: https://www.myget.org/F/odata2poco/api/v2/package
115-
on:
116-
branch: develop
117-
artifact: global_tool,o2pgen,lib,symbol,choco_pkg
118-
119-
120-
93+
94+
- provider: Webhook
95+
url: https://app.signpath.io/API/v1/%SIGNPATH_ORGANIZATION_ID%/Integrations/AppVeyor?ProjectSlug=%SIGNPATH_PROJECT_SLUG%&SigningPolicySlug=%SIGNPATH_SIGNING_POLICY_SLUG%&ArtifactConfigurationSlug=%ARTIFACT_CONFIGURATION_SLUG%
96+
authorization: 'Bearer %SIGNPATH_CI_USER_TOKEN%'
97+
on:
98+
APPVEYOR_REPO_TAG: true

0 commit comments

Comments
 (0)