Skip to content

Commit

Permalink
chore(release): 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Dec 11, 2021
1 parent d56d35d commit fb58e42
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@ jobs:
if: matrix.config.kind == 'test_release' && startsWith(github.ref, 'refs/tags/')
run: cargo login ${{ secrets.CRATES_TOKEN }}

# todo: enable once the parser is published
# - name: Cargo publish
# if: matrix.config.kind == 'test_release' && startsWith(github.ref, 'refs/tags/')
# run: cargo publish
- name: Cargo publish
if: matrix.config.kind == 'test_release' && startsWith(github.ref, 'refs/tags/')
run: cargo publish

# GITHUB RELEASE
- name: Pre-release
Expand Down Expand Up @@ -140,14 +139,13 @@ jobs:
repository: dprint/plugins
token: ${{ secrets.CI_REPO_PAT }} # github.token is scoped to current repo, so use this to push to other repo
path: dprint-plugins
# todo: enable once adding this to dprint init
#- name: Plugin publish
# if: matrix.config.kind == 'test_release' && startsWith(github.ref, 'refs/tags/')
# run: |
# cd dprint-plugins
# node scripts/replace-plugin.js dprint-plugin-dockerfile ${{ steps.get_tag_version.outputs.TAG_VERSION }} dockerfile-${{ steps.get_tag_version.outputs.TAG_VERSION }}
# git add .
# git config user.name "David Sherret"
# git config user.email "[email protected]"
# git commit -m "dprint-plugin-dockerfile ${{ steps.get_tag_version.outputs.TAG_VERSION }}"
# git push origin main
- name: Plugin publish
if: matrix.config.kind == 'test_release' && startsWith(github.ref, 'refs/tags/')
run: |
cd dprint-plugins
node scripts/replace-plugin.js dprint-plugin-dockerfile ${{ steps.get_tag_version.outputs.TAG_VERSION }} dockerfile-${{ steps.get_tag_version.outputs.TAG_VERSION }}
git add .
git config user.name "David Sherret"
git config user.email "[email protected]"
git commit -m "dprint-plugin-dockerfile ${{ steps.get_tag_version.outputs.TAG_VERSION }}"
git push origin main
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dprint-plugin-dockerfile"
version = "0.2.0"
version = "0.2.1"
authors = ["David Sherret <[email protected]>"]
edition = "2021"
homepage = "https://github.com/dprint/dprint-plugin-dockerfile"
Expand All @@ -26,7 +26,7 @@ tracing = ["dprint-core/tracing"]

[dependencies]
anyhow = "1.0.51"
dockerfile-parser = { git = "https://github.com/dsherret/dockerfile-parser-rs", branch = "span-for-nodes" }
dockerfile-parser = "0.8.0-alpha.1"
dprint-core = { version = "0.49.0", features = ["formatting"] }
serde = { version = "1.0.88", features = ["derive"] }
serde_json = { version = "1.0", optional = true }
Expand Down

0 comments on commit fb58e42

Please sign in to comment.