-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef5040b
commit 39b6121
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Automatically create release with each commit. Uses the top most version found in CHANGELOG.md as tag. Will not overwrite release if tag already exists. Create new version in CHANGELOG.md to create a new release. | ||
|
||
before_deploy: | ||
- ps: Set-AppveyorBuildVariable -Name VER -Value (sls "^## " .\CHANGELOG.md | select -exp line | select -first 1 | ForEach-Object { $_.split("]")[0] } | ForEach-Object { $_.split("[")[1] }) | ||
|
||
deploy: | ||
- provider: GitHub | ||
tag: v$(VER) | ||
description: 'After cloning/downloading the Wordsmith repository for this release ($(APPVEYOR_REPO_COMMIT)), download `data.tar.xz` and place inside wordsmith directory.' | ||
#force_update: true | ||
auth_token: | ||
secure: LGNzTMUPT4zvTNSh2VBYQ6Uy2JH0e79jONqr3bCB1yjHhTDxnGWSpmKWjRtItp2c | ||
|
||
# Don't actually build. | ||
build: off | ||
|
||
branches: | ||
only: | ||
- master |