Permalink
Browse files

chore: added nuget.org release workflow (#1191)


* wip

* here goes 7 minutes of my life

* Revert "here goes 7 minutes of my life"

This reverts commit cc34607.

* appveyor plz

* add this in until we release, then remove

* this should be it
  • Loading branch information...
1 parent b418df6 commit 0e99cab41853de22a187bb26eb71e924ec8c6759 @ghuntley ghuntley committed on GitHub Nov 7, 2016
Showing with 263 additions and 99 deletions.
  1. +64 −0 GitReleaseManager.yaml
  2. +15 −0 GitVersion.yml
  3. +2 −1 README.md
  4. +0 −2 RELEASENOTES.md
  5. +63 −35 appveyor.yml
  6. +117 −59 build.cake
  7. +1 −1 src/.nuget/NuGet.Config
  8. +1 −1 src/ReactiveUI.nuspec
@@ -0,0 +1,64 @@
+create:
+ include-footer: true
+ footer-heading: Where to get it
+ footer-content: You can download this release from [nuget.org](https://www.nuget.org/packages/reactiveui/{milestone})
+ footer-includes-milestone: true
+ milestone-replace-text: '{milestone}'
+export:
+ include-created-date-in-title: true
+ created-date-string-format: MMMM dd, yyyy
+ perform-regex-removal: true
+ regex-text: '### Where to get it(\r\n)*You can .*\)'
+ multiline-regex: true
+issue-labels-include:
+- reactiveui-core
+- reactiveui-events
+- windows-forms
+- windows-phone-store-uwp
+- uwp
+- wpf
+- xamarin-android
+- xamarin-forms
+- xamarin-ios
+- xamarin-mac
+- housekeeping
+- documentation
+issue-labels-exclude:
+- Build
+issue-labels-alias:
+ - name: reactiveui-core
+ header: All Platforms
+ plural: All Platforms
+ - name: reactiveui-events
+ header: Events Generator
+ plural: Events Generator
+ - name: windows-forms
+ header: Windows Forms
+ plural: Windows Forms
+ - name: windows-phone-store-uwp
+ header: Windows Phone, Store and Universal
+ plural: Windows Phone, Store and Universal
+ - name: uwp
+ header: Windows Universal Platform
+ plural: Windows Universal Platform
+ - name: wpf
+ header: Windows Presentation Framework
+ plural: Windows Presentation Framework
+ - name: xamarin-android
+ header: Xamarin Android
+ plural: Xamarin Android
+ - name: xamarin-forms
+ header: Xamarin Forms
+ plural: Xamarin Forms
+ - name: xamarin-ios
+ header: Xamarin iOS
+ plural: Xamarin iOS
+ - name: xamarin-mac
+ header: Xamarin Mac
+ plural: Xamarin Mac
+ - name: housekeeping
+ header: Housekeeping
+ plural: Housekeeping
+ - name: Documentation
+ header: Documentation
+ plural: Documentation
View
@@ -0,0 +1,15 @@
+assembly-versioning-scheme: None
+next-version: 7.0.0
+branches:
+ master:
+ mode: ContinuousDelivery
+ tag:
+ increment: Patch
+ prevent-increment-of-merged-branch-version: true
+ track-merge-target: false
+ dev(elop)?(ment)?$:
+ mode: ContinuousDeployment
+ tag: alpha
+ increment: Minor
+ prevent-increment-of-merged-branch-version: false
+ track-merge-target: true
View
@@ -1,6 +1,7 @@
# ![ReactiveUI Logo](https://i.imgur.com/23kfbS9.png) ReactiveUI
-[![Release Version](https://img.shields.io/github/release/reactiveui/reactiveui.svg)](https://github.com/reactiveui/reactiveui/releases) [![NuGet Stats](https://img.shields.io/nuget/dt/reactiveui-core.svg)](https://www.nuget.org/packages/reactiveui) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/reactiveui/ReactiveUI/issues?utf8=%E2%9C%93&q=label%3Afirst-timers-only+) [![Issue Stats](http://www.issuestats.com/github/reactiveui/reactiveui/badge/issue?style=flat)](http://www.issuestats.com/github/reactiveui/reactiveui) [![Pull Request Stats](http://www.issuestats.com/github/reactiveui/reactiveui/badge/pr?style=flat)](http://www.issuestats.com/github/reactiveui/reactiveui)
+[![Release Version](https://img.shields.io/github/release/reactiveui/reactiveui.svg)](https://github.com/reactiveui/reactiveui/releases) [![NuGet Stats](https://img.shields.io/nuget/dt/reactiveui-core.svg)](https://www.nuget.org/packages/reactiveui) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/reactiveui/ReactiveUI/issues?utf8=%E2%9C%93&q=label%3Afirst-timers-only+) [![Issue Stats](http://www.issuestats.com/github/reactiveui/reactiveui/badge/issue?style=flat)](http://www.issuestats.com/github/reactiveui/reactiveui) [![Pull Request Stats](http://www.issuestats.com/github/reactiveui/reactiveui/badge/pr?style=flat)](http://www.issuestats.com/github/reactiveui/reactiveui) [![Build status](https://ci.appveyor.com/api/projects/status/nhsndp7v788t6a2m/branch/develop?svg=true)](https://ci.appveyor.com/project/ghuntley/reactiveui/branch/develop)
+
[![Follow us on Twitter](https://img.shields.io/badge/twitter-%40reactivexui-020031.svg)](https://twitter.com/reactivexui) [![Visit our website](https://img.shields.io/badge/website-reactiveui.net-020031.svg) ](http://www.reactiveui.net/)
View
@@ -1,2 +0,0 @@
-### New in 7.0.0 (work in progress)
-If you are reading this, then please come join us in Slack.
View
@@ -1,47 +1,75 @@
-version: 1.0.{build}
-
-branches:
- only:
- - rxui7-master
-
-environment:
- ANDROID_HOME: "C:\\android-sdk-windows"
-
- MYGET_API_KEY:
- secure: YP/3KxC2ffsuHNaolPXj66JVGzSjON9FcR2S2OEzn9c6SV14oPzUh1ySyeT+G+aA
- SONAR_API_KEY:
- secure: 1WyG/T61dXeEzB33DQE5M7qDMwiJ2tALpRF9jJlK3f6oiv6K+L4gp+q8llYh4951
-
-xamarin:
- email: ghuntley@ghuntley.com
- password:
- secure: 9PLfbvP3ON+Xk17Yd4rJag==
- android: true
- ios: true
-
-init:
+# configuration for "master" branch
+-
+ image: Visual Studio 2015
+ branches:
+ only:
+ - master
+ version: 1.0.{build}
+ environment:
+ ANDROID_HOME: "C:\\android-sdk-windows"
+ GITHUB_USERNAME:
+ secure: 0Q9MvUId56SizmZwCf0cgg==
+ GITHUB_TOKEN:
+ secure: 8MW7NQw/+0kKQAINvV7mxac+f7xqrLPkskONTyldqcYP6M1h9iej2p7rSva0/rXH
+ NUGET_SOURCE: https://www.nuget.org/api/v2/package
+ NUGET_APIKEY:
+ secure: 0g2AqQxgiAIFhqoJbbmEPrJa15Z8U5xYT6vQe43Gocuxbjw74hBAIKbU+Cj65UNd
+ init:
- cd \
- appveyor DownloadFile http://dl.google.com/android/android-sdk_r24.4.1-windows.zip
- 7z x android-sdk_r24.4.1-windows.zip > nul
- cd "C:\projects\reactiveui"
-
-install:
-
+ install:
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t tools
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t platform-tools
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t build-tools-24.0.2
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t android-24
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t extra-google-m2repository
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t extra-android-m2repository
-
-build_script:
-- ps: >-
-
- ./build.cmd
-
-test: off
-
-artifacts:
- - path: '**/bin/**/*'
+ build_script:
+ - ./build.cmd
+ cache:
+ - tools -> build.*
+ - src\packages -> **\packages.config
+ - '%USERPROFILE%\.nuget\packages -> **\project.json'
+ artifacts:
+ - path: artifacts/*
+ - path: '**/bin/*'
- path: src/ReactiveUI.Events/Events_*.cs
+ test: off
+
+# configuration for "develop" branch
+-
+ image: Visual Studio 2015
+ branches:
+ except:
+ - master
+ version: 1.0.{build}
+ environment:
+ ANDROID_HOME: "C:\\android-sdk-windows"
+ NUGET_SOURCE: https://www.myget.org/F/reactiveui/api/v2/package
+ NUGET_APIKEY:
+ secure: YP/3KxC2ffsuHNaolPXj66JVGzSjON9FcR2S2OEzn9c6SV14oPzUh1ySyeT+G+aA
+ init:
+ - cd \
+ - appveyor DownloadFile http://dl.google.com/android/android-sdk_r24.4.1-windows.zip
+ - 7z x android-sdk_r24.4.1-windows.zip > nul
+ - cd "C:\projects\reactiveui"
+ install:
+ - echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t tools
+ - echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t platform-tools
+ - echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t build-tools-24.0.2
+ - echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t android-24
+ - echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t extra-google-m2repository
+ - echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t extra-android-m2repository
+ build_script:
+ - ./build.cmd
+ cache:
+ - tools -> build.*
+ - src\packages -> **\packages.config
+ - '%USERPROFILE%\.nuget\packages -> **\project.json'
+ artifacts:
- path: artifacts/*
+ - path: '**/bin/*'
+ - path: src/ReactiveUI.Events/Events_*.cs
+ test: off
Oops, something went wrong.

0 comments on commit 0e99cab

Please sign in to comment.