Skip to content

Commit

Permalink
Merge pull request #6 from eclipse-volttron/main
Browse files Browse the repository at this point in the history
Sync develop from main
  • Loading branch information
craig8 authored Nov 29, 2022
2 parents b38843f + e1303ce commit acb84ab
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 24 deletions.
20 changes: 0 additions & 20 deletions .copier-answers.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/dispatch-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
# Documentation located
# https://github.com/marketplace/actions/publish-python-poetry-package
name: Dispatch to PyPi

on:
workflow_dispatch:

defaults:
run:
shell: bash

env:
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

jobs:

publish_to_pypi:

runs-on: ubuntu-22.04

steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."

- name: Checkout code
uses: actions/checkout@v2

- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
# These are only needed when using test.pypi
#repository_name: testpypi
#repository_url: https://test.pypi.org/legacy/
pypi_token: ${{ secrets.PYPI_TOKEN }}
ignore_dev_requirements: "yes"
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ toml = ">=0.10.2"

[tool.poetry]
name = "volttron-lib-sql-historian"
version = "0.1.0"
description = "None"
authors = ["VOLTTRON <[email protected]>"]
version = "0.2.0-rc"
description = "A library for supporting sql based historians."
authors = ["VOLTTRON Team <[email protected]>"]
license = "Apache License 2.0"
readme = "README.md"
repository = "https://github.com/eclipse-volttron/volttron-lib-sql-historian"
Expand All @@ -20,7 +20,7 @@ packages = [ { include = "historian", from = "src" } ]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
volttron-lib-base-historian = "^0.1.1a4"
volttron-lib-base-historian = "^0.2.0rc0"

[tool.poetry.group.dev.dependencies]
pytest = "^6.2.5"
Expand Down

0 comments on commit acb84ab

Please sign in to comment.