Clean-up
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7316 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6930669bc0
commit
ac5e400712
2 changed files with 14 additions and 17 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: CI
|
||||
name: Build, Test and Publish
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
- name: Brew Dependencies
|
||||
run: |
|
||||
brew install scons mingw-w64 zlib
|
||||
|
|
7
.github/workflows/copy-svn.yml
vendored
7
.github/workflows/copy-svn.yml
vendored
|
@ -46,10 +46,12 @@ jobs:
|
|||
else
|
||||
echo '::set-output name=cache-hit::false'
|
||||
fi
|
||||
|
||||
- name: Initial SVN clone
|
||||
if: steps.restore-cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
git svn clone -A.github/workflows/svn-authors -s https://svn.code.sf.net/p/nsis/code/NSIS svn2git
|
||||
|
||||
- name: SVN fetch
|
||||
working-directory: svn2git
|
||||
run: |
|
||||
|
@ -74,21 +76,16 @@ jobs:
|
|||
- name: SVN tags
|
||||
working-directory: svn2git
|
||||
run: |
|
||||
git tag
|
||||
|
||||
git for-each-ref --format="%(refname:short) %(objectname)" refs/remotes/origin/tags \
|
||||
| while read BRANCH REF
|
||||
do
|
||||
TAG_NAME=`echo $BRANCH | cut -d / -f 3-`
|
||||
BODY="$(git log -1 --format=format:%B $REF)"
|
||||
echo "ref=$REF parent=$(git rev-parse $REF^) tagname=$TAG_NAME body=$BODY" >&2
|
||||
git tag -l "$TAG_NAME"
|
||||
echo XXX
|
||||
if [ $(git tag -l "$TAG_NAME") ]; then
|
||||
echo tag already exists
|
||||
else
|
||||
git tag -a -m "$BODY" $TAG_NAME $REF^
|
||||
#git branch -r -d $BRANCH
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue