Skip to content

Commit

Permalink
Test...
Browse files Browse the repository at this point in the history
Add prerelease checker
# A markdown test:
`test...`
> Hi
 - list
 - list
  • Loading branch information
cole-wilson committed Dec 9, 2020
1 parent abaaa65 commit 0f9df57
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sailboat.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v2, workflow subs: [name: `Sailboat`, short_name: `sailboat`, mac_comment: ``, windows_comment: ``, mac_extension: ``, windows_extension: `.exe`]
# v0.0.3, workflow subs: [name: `Sailboat`, short_name: `sailboat`, mac_comment: ``, windows_comment: ``, mac_extension: ``, windows_extension: `.exe`]
name: Publish release files for Sailboat.

on:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
run: python -m sailboat.prerelease ${{ github.ref }} >> $GITHUB_ENV

- name: Upload binaries to prerelease
if: $prerel == 'true'
if: env.prerel == 'true'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -51,7 +51,7 @@ jobs:
prerelease: true

- name: Upload binaries to production release
if: $prerel == 'false'
if: env.prerel == 'false'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Binary file removed dist/pypi/sailboat-0.0.3.dev10.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added dist/pypi/sailboat-0.0.3.dev11.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions sailboat.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ modules = [ "toml",]
fullname = "Sailboat"
homebrew = false
icon = ""
latest_build = "0.0.3dev10"
latest_build = "0.0.3dev11"

[build]
type = "1"
Expand All @@ -25,4 +25,4 @@ homebrew = false
actions = true
installer = false
actions_built_latest = true
release_notes = " prerelease checker / # A markdown test: / `test...` / > Hi / - list / - list / ---"
release_notes = " prerelease checker / # A markdown test: / `test...` / > Hi / - list / - list"
6 changes: 3 additions & 3 deletions sailboat/sailboat.yml.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v2, workflow subs: [name: `{name}`, short_name: `{short_name}`, mac_comment: `{mac}`, windows_comment: `{windows}`, mac_extension: `{mac_ext}`, windows_extension: `{win_ext}`]
# v0.0.3, workflow subs: [name: `{name}`, short_name: `{short_name}`, mac_comment: `{mac}`, windows_comment: `{windows}`, mac_extension: `{mac_ext}`, windows_extension: `{win_ext}`]
name: Publish release files for {name}.

on:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
run: python -m sailboat.prerelease ${{{{ github.ref }}}} >> $GITHUB_ENV

- name: Upload binaries to prerelease
if: $prerel == 'true'
if: env.prerel == 'true'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{{{ secrets.GITHUB_TOKEN }}}}
Expand All @@ -51,7 +51,7 @@ jobs:
prerelease: true

- name: Upload binaries to production release
if: $prerel == 'false'
if: env.prerel == 'false'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{{{ secrets.GITHUB_TOKEN }}}}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setuptools.setup(
name="sailboat",
version="0.0.3dev10",
version="0.0.3dev11",
scripts=['bin/sailboat'],
# entry_points={
# 'console_scripts': ['sailboat=sailboat.__main__.main()'],
Expand Down

0 comments on commit 0f9df57

Please sign in to comment.