Skip to content

Commit

Permalink
Fix another error
Browse files Browse the repository at this point in the history
h=fixed misnamed module in check for prerelease
from actions.prerelease
to sailboat.prerelease
  • Loading branch information
cole-wilson committed Dec 9, 2020
1 parent fb5cc70 commit 10e644c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sailboat.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workflow subs: [name: `Sailboat`, short_name: `sailboat`, mac_comment: ``, windows_comment: ``, mac_extension: ``, windows_extension: `.exe`]
# v1, 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 @@ -36,7 +36,7 @@ jobs:
pip install sailboat
python -m sailboat.actions
- name: Check for prerelease
run: python -m actions.prerelease ${{ github.ref }} >> $GITHUB_ENV
run: python -m sailboat.prerelease ${{ github.ref }} >> $GITHUB_ENV
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down
Binary file removed dist/pypi/sailboat-0.0.3.dev7.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added dist/pypi/sailboat-0.0.3.dev8.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.3dev7"
latest_build = "0.0.3dev8"

[build]
type = "1"
Expand All @@ -25,4 +25,4 @@ homebrew = false
actions = true
installer = false
actions_built_latest = true
release_notes = "Test / test..."
release_notes = "Fix small error"
2 changes: 1 addition & 1 deletion sailboat/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def main(arguments,ids):
with open('.'+os.sep+'sailboat.toml') as datafile:
data = toml.loads(datafile.read())
data['build']['release_notes'] = ''
data['build']['release_notes'] +='\n'+input('One line release message:\n> ')
data['build']['release_notes'] +=input('One line release message:\n> ')
print('Extended desciption: (ctrl+c to finish):')

while True:
Expand Down
4 changes: 2 additions & 2 deletions sailboat/sailboat.yml.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workflow subs: [name: `{name}`, short_name: `{short_name}`, mac_comment: `{mac}`, windows_comment: `{windows}`, mac_extension: `{mac_ext}`, windows_extension: `{win_ext}`]
# v1, 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 @@ -36,7 +36,7 @@ jobs:
pip install sailboat
python -m sailboat.actions
- name: Check for prerelease
run: python -m actions.prerelease ${{{{ github.ref }}}} >> $GITHUB_ENV
run: python -m sailboat.prerelease ${{{{ github.ref }}}} >> $GITHUB_ENV
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
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.3dev7",
version="0.0.3dev8",
scripts=['bin/sailboat'],
# entry_points={
# 'console_scripts': ['sailboat=sailboat.__main__.main()'],
Expand Down

0 comments on commit 10e644c

Please sign in to comment.