Skip to content

Commit

Permalink
Merge pull request #157 from dwmkerr/feat/deploy-tags
Browse files Browse the repository at this point in the history
chore: test new tag build
  • Loading branch information
dwmkerr authored May 7, 2019
2 parents dfea565 + c37db10 commit 609c21e
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 15 deletions.
32 changes: 20 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,16 @@ Check out the [Samples](https://github.com/dwmkerr/sharpgl/wiki/Samples), they'r

<!-- vim-markdown-toc GFM -->

* [Getting Started](#getting-started)
* [Developer Guide](#developer-guide)
* [Sample Applications](#sample-applications)
* [Documentation](#documentation)
* [Credits, Sponsorship & Thanks](#credits-sponsorship--thanks)
* [Getting Started](#getting-started)
* [Developer Guide](#developer-guide)
* [Releasing](#releasing)
* [Sample Applications](#sample-applications)
* [Documentation](#documentation)
* [Credits, Sponsorship & Thanks](#credits-sponsorship--thanks)
* [Built with SharpGL](#built-with-sharpgl)
* [Open Vogel](#open-vogel)
* [AgOpenGPS](#agopengps)

<!-- vim-markdown-toc -->


## Getting Started

Installing SharpGL is easy, just use NuGet:
Expand Down Expand Up @@ -71,6 +69,16 @@ artifacts\
\coverage # Coverage Reports
```

### Releasing

To make and publish a release:

1. Update the `SharedAssemblyInfo.cs` file with the version
2. Create the version tag (e.g. `git tag v3.2.1`)
3. Push the code and tags (e.g. `git push --follow-tags`)

AppVeyor will automatically push the release to NuGet and GitHub.

## Sample Applications

There are a large number of sample applications that show how to use SharpGL. Check out the 'Samples' solution to see the samples that are available - they'll be documented soon.
Expand Down Expand Up @@ -104,14 +112,14 @@ Many thanks to [Red Gate](http://www.red-gate.com/) who have kindly provided Sha

Thanks for [JetBrains](http://www.jetbrains.com/) for sponsoring SharpGL with [Resharper](http://www.jetbrains.com/resharper/)!

# Built with SharpGL
## Built with SharpGL

If you've got a project that uses SharpGL and you'd like to show it off, just add the details here in a PR!

## [Open Vogel](https://sites.google.com/site/gahvogel/)
**[Open Vogel](https://sites.google.com/site/gahvogel/)**

Checkout https://sites.google.com/site/gahvogel/ to see a free, open source project which supports aerodynamics!

## [AgOpenGPS](https://github.com/farmerbriantee/AgOpenGPS)
**[AgOpenGPS](https://github.com/farmerbriantee/AgOpenGPS)**

This is the *very first* open source Precision Agricultural App! Built by [Brian Tischler](https://github.com/farmerbriantee), you can see (the discussions and excitement on this project with farmers across the world)[http://www.thecombineforum.com/forums/31-technology/278810-agopengps.html]!
This is the *very first* open source Precision Agricultural App! Built by [Brian Tischler](https://github.com/farmerbriantee), you can see [the discussions and excitement on this project with farmers across the world](http://www.thecombineforum.com/forums/31-technology/278810-agopengps.html)!
16 changes: 16 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,24 @@ before_build:
build:
project: source/SharpGL/SharpGL.sln
publish_nuget: true
verbosity: minimal

# After the build as completed, analyse coverage and upload.
on_success:
- ps: ./source/SharpGL/coverage.ps1

# If we have a tag, deploy.
deploy:
- provider: NuGet
api_key:
secure: TWio+nDN8Ew7+OH7J3tLcEoM6DmxrIwfAr+2Ag8ROWJUEnXyoSAZ/I1GxBgB0qMd
on:
APPVEYOR_REPO_TAG: true
- provider: GitHub
auth_token:
secure: KTWUORrnJKPKLSf/3ROLY50T9UfgTMnKHf3OjBOv8tlY/DAxtlglRU3eM+j45fMt
artifact: SharpGL.nupkg, SharpGL.WPF.nuspec, SharpGL.WinForms.nuspec
on:
APPVEYOR_REPO_TAG: true

3 changes: 3 additions & 0 deletions release/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# IMPORTANT

All functionality and code in this folder is being deprecated. Releases will be handled by the scripts in the `source/SharpGL` folder and the AppVeyor.
19 changes: 19 additions & 0 deletions source/SharpGL/Core/SharpGL.WPF/SharpGL.WPF.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>SharpGL</title>
<authors>Dave Kerr</authors>
<owners>Dave Kerr</owners>
<projectUrl>https://github.com/dwmkerr/sharpgl</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpGL wraps the popular OpenGL library. This package installs SharpGL and the WPF controls.</description>
<summary>SharpGL wraps the popular OpenGL library. This package installs SharpGL and the WPF controls.</summary>
<copyright>Copyright © Dave Kerr 2019</copyright>
<tags>SharpGL,OpenGL,WPF</tags>
<dependencies>
<dependency id="SharpGL" version="$version$" />
</dependencies>
</metadata>
</package>
19 changes: 19 additions & 0 deletions source/SharpGL/Core/SharpGL.WinForms/SharpGL.WinForms.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>SharpGL for WinForms</title>
<authors>Dave Kerr</authors>
<owners>Dave Kerr</owners>
<projectUrl>https://github.com/dwmkerr/sharpgl</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpGL wraps the popular OpenGL library. This package installs SharpGL and the WinForms controls.</description>
<summary>SharpGL wraps the popular OpenGL library. This package installs SharpGL and the WinForms controls.</summary>
<copyright>Copyright © Dave Kerr 2019</copyright>
<tags>SharpGL,OpenGL,WinForms</tags>
<dependencies>
<dependency id="SharpGL" version="$version$" />
</dependencies>
</metadata>
</package>
16 changes: 16 additions & 0 deletions source/SharpGL/Core/SharpGL/SharpGL.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>SharpGL</title>
<authors>Dave Kerr</authors>
<owners>Dave Kerr</owners>
<projectUrl>https://github.com/dwmkerr/sharpgl</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpGL is the core library for SharpGL. It provides wrappers for all OpenGL functions and also includes the Scene Graph classes. Installed as part of SharpGL for WinForms or SharpGL for WPF.</description>
<summary>SharpGL is the core library for SharpGL. It provides wrappers for all OpenGL functions and also includes the Scene Graph classes. Installed as part of SharpGL for WinForms or SharpGL for WPF.</summary>
<copyright>Copyright © Dave Kerr 2019</copyright>
<tags>SharpGL,OpenGL</tags>
</metadata>
</package>
6 changes: 3 additions & 3 deletions source/SharpGL/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[assembly: AssemblyCompany("Dave Kerr")]
[assembly: AssemblyProduct("SharpGL")]
[assembly: AssemblyCopyright("Copyright © Dave Kerr 2015")]
[assembly: AssemblyCopyright("Copyright © Dave Kerr 2019")]

// Version information for an assembly consists of the following four values:
//
Expand All @@ -16,5 +16,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.4.1.0")]
[assembly: AssemblyFileVersion("2.4.1.0")]
[assembly: AssemblyVersion("2.4.1.1")]
[assembly: AssemblyFileVersion("2.4.1.1")]

0 comments on commit 609c21e

Please sign in to comment.