Skip to content

Commit

Permalink
working on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TristenHarr committed Aug 5, 2024
1 parent 7913e2b commit 9f29b4f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,22 @@ jobs:
set -e pipefail
export DOCKER_IMAGE=$(echo "$DOCKER_METADATA_OUTPUT_JSON" | jq -r '.tags[0]')
make build
- name: Calculate SHA256 checksum
id: calculate_checksum
run: |
echo "sha256=$(sha256sum ./connector-definition/dist/connector-definition.tgz | awk '{ print $1 }')" >> $GITHUB_OUTPUT
- name: Get commit hash
id: get_commit_hash
run: echo "commit_hash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT

working-directory: ./connector-definition
- uses: actions/upload-artifact@v4
with:
name: connector-definition.tgz
path: ./connector-definition/dist/connector-definition.tgz
compression-level: 0 # Already compressed

- name: Calculate SHA256 checksum
id: calculate_checksum
run: |
echo "SHA256=$(sha256sum ./connector-definition/dist/connector-definition.tgz | awk '{ print $1 }')" >> $GITHUB_ENV
- name: Get commit hash
id: get_commit_hash
run: echo "COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV

release-connector:
name: Release connector
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ This changelog documents changes between release tags.
## [Unreleased]
Upcoming changes for the next versioned release.

## [0.0.22]
* Attempt to integrate push to ndc-hub workflow

## [0.0.21]
* Attempt to integrate push to ndc-hub workflow

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ndc-turso",
"version": "0.0.21",
"version": "0.0.22",
"main": "index.js",
"author": "Tristen Harr",
"scripts": {
Expand Down

0 comments on commit 9f29b4f

Please sign in to comment.