diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5777920..1d0ee27 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -65,7 +65,7 @@ jobs: needs: tagging if: ${{ inputs.test_publish || needs.tagging.outputs.tag_pre_exist == 'false' }} runs-on: ubuntu-latest - name: Publish + name: "${{ inputs.test_publish && 'Test ' || '' }}Publish" environment: name: pypi url: "https://${{ inputs.test_publish && 'test.' || '' }}pypi.org/project/aws-fusion" @@ -91,12 +91,7 @@ jobs: run: python setup.py sdist bdist_wheel - name: Publish release distributions to PyPI - if: ${{ ! inputs.test_publish }} - uses: pypa/gh-action-pypi-publish@release/v1 - - - name: Publish release distributions to Test PyPI - if: ${{ inputs.test_publish }} uses: pypa/gh-action-pypi-publish@release/v1 with: - repository-url: https://test.pypi.org/legacy/ + repository-url: ${{ inputs.test_publish && 'https://test.pypi.org/legacy/' || '' }} diff --git a/README.md b/README.md index 04b0558..0e738c2 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,19 @@ To invoke the cli, there are 2 option 1. Directly use `aws-fusion` command 2. Use it via [aws cli alias](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-alias.html) with `aws fusion` +## Commands +- [init](#usage-of-init) +- [open-browser](#usage-of-open-browser) +- [store-iam-user-credentials](#usage-of-store-iam-user-credentials) +- [get-iam-user-credentials](#usage-of-get-iam-user-credentials) +- [generate-okta-device-auth-credentials](#usage-of-generate-okta-device-auth-credentials) + +--- +## Usage of `init` +> Try `aws-fusion init --help` for detailed parameter + +Initilize fusion app with creation of aws fusion alias + --- ## Usage of `open-browser` > Try `aws-fusion open-browser --help` for detailed parameter diff --git a/aws_fusion/__init__.py b/aws_fusion/__init__.py index 6f4fa58..72837bd 100644 --- a/aws_fusion/__init__.py +++ b/aws_fusion/__init__.py @@ -1 +1 @@ -__version__ = '1.3' +__version__ = '1.3.1'