Skip to content

Commit

Permalink
fix: mkdir before moving files
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Sep 20, 2023
1 parent af0fcff commit aaa958e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ jobs:
VERSION=v${{steps.version_check.outputs.version}} pnpm build
mkdir -p "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}"
mv schema/* "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}"
mkdir -p "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/types"
mv types/* "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/types"
mkdir -p "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/examples"
mv examples/*.json "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/examples"
- name: Checkout Dist Branch
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "digital-planning-data-schemas",
"version": "0.0.2",
"version": "0.0.3",
"description": "Digital Planning Schemas",
"main": "schema/schema.json",
"scripts": {
Expand Down

0 comments on commit aaa958e

Please sign in to comment.