-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove release package for epfl-theme-elements (#728)
It is no longer necessary to build the release. epfl-theme-elements uses epfl-elements via `package.json` now.
- Loading branch information
1 parent
044ccfa
commit 989af57
Showing
1 changed file
with
0 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ jobs: | |
env: | ||
tag: ${{ github.ref_name }} | ||
tag_ref: ${{ github.ref }} | ||
release_tar_name: elements-${{ github.ref_name }}.tar.gz | ||
base_branch: "dev" | ||
base_branch_ref: "origin/dev" | ||
dist_branch: dist/frontend | ||
|
@@ -66,29 +65,3 @@ jobs: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./frontend | ||
publish_branch: ${{ env.dist_branch }} | ||
|
||
- name: Pluck release/ out of dist/ | ||
# The placement scheme is that of https://www.npmjs.com/package/epfl-theme-elements | ||
run: | | ||
set -e -x | ||
mkdir -p release/dist/icons release/dist/css release/dist/js | ||
cp $(find dist/ -name icons -prune -false -o -name "*.svg") \ | ||
dist/icons/* \ | ||
dist/favicons/*.png dist/favicons/*.ico \ | ||
release/dist/icons/ | ||
cp dist/package.json release/ | ||
cp dist/css/elements.min.css release/dist/css/elements.min.css | ||
cp dist/js/elements.min.js release/dist/js/elements.min.js | ||
- name: Create release package | ||
# The placement scheme is that of https://www.npmjs.com/package/epfl-theme-elements | ||
run: | | ||
set -e -x | ||
tar -Crelease -zcf $release_tar_name . | ||
- uses: "marvinpinto/[email protected]" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: false | ||
files: | | ||
${{ env.release_tar_name }} |