Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
maximedenes committed Aug 18, 2023
1 parent 3615df2 commit 4a6a522
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ jobs:

#VERSION_SLUG="${GITHUB_REF_NAME_SLUG#v}"
#VERSION="${GITHUB_REF_NAME#v}"
#opam publish --no-browser --repo=coq/opam-coq-archive --packages-directory=extra-dev/packages -v $VERSION https://github.com/coq-community/vscoq/releases/download/$GITHUB_REF_NAME/vscoq-language-server-$VERSION.tar.gz vscoq-language-server.opam
- name: Publish
run: |
eval $(opam env)
echo $GITHUB_REF_NAME_SLUG
VERSION_SLUG=1.9.1-coq8.18
VERSION=1.9.1+coq8.18
cd language-server
opam publish --no-browser --repo=coq/opam-coq-archive --packages-directory=extra-dev/packages -v $VERSION https://github.com/coq-community/vscoq/releases/download/$GITHUB_REF_NAME/vscoq-language-server-$VERSION.tar.gz vscoq-language-server.opam
opam publish --no-browser --repo=coq/opam-coq-archive --packages-directory=extra-dev/packages -v $VERSION https://github.com/coq-community/vscoq/releases/download/v$VERSION/vscoq-language-server-$VERSION_SLUG.tar.gz vscoq-language-server.opam
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
- name: Create language-server archive
run: |
cd language-server
VERSION="${GITHUB_REF_SLUG#v}"
VERSION="${GITHUB_REF_NAME_SLUG#v}"
git archive -o ../vscoq-language-server-$VERSION.tar.gz --prefix=vscoq-language-server-$VERSION/ $GITHUB_SHA .
- name: Release
Expand Down

0 comments on commit 4a6a522

Please sign in to comment.